mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Moved modifiers code to resource
This commit is contained in:
parent
0203af4642
commit
f9aab9718a
12 changed files with 132 additions and 74 deletions
12
Scripts/Resources/Modifiers/DelayedRotationModifier.cs
Normal file
12
Scripts/Resources/Modifiers/DelayedRotationModifier.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Resources.Modifiers;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class DelayedRotationModifier : TimeModifier
|
||||
{
|
||||
public override void Start(Bullet bullet)
|
||||
{
|
||||
bullet.RotateBullet(this.Value);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue