mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Cheat Gun
This commit is contained in:
parent
f2e6025b35
commit
cb27f33a6d
21 changed files with 620 additions and 436 deletions
|
|
@ -0,0 +1,12 @@
|
|||
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));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue