mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:45:33 +00:00
12 lines
No EOL
283 B
C#
12 lines
No EOL
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));
|
|
}
|
|
} |