mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
12 lines
283 B
C#
12 lines
283 B
C#
|
|
using Godot;
|
|||
|
|
|
|||
|
|
namespace Cirno.Scripts.Resources.Modifiers;
|
|||
|
|
|
|||
|
|
[GlobalClass]
|
|||
|
|
public partial class DelayedContinuousRotationModifier : TimeModifier
|
|||
|
|
{
|
|||
|
|
public override void Update(Bullet bullet, double delta)
|
|||
|
|
{
|
|||
|
|
bullet.RotateSpriteDegrees((float)(Value * delta));
|
|||
|
|
}
|
|||
|
|
}
|