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
|
|
@ -1,9 +1,13 @@
|
|||
using Godot;
|
||||
using Cirno.Scripts.Actors;
|
||||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Resources.Modifiers;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class DelayedSpeedModifier : TimeModifier
|
||||
{
|
||||
|
||||
public override void Start(Bullet bullet)
|
||||
{
|
||||
bullet.Speed = this.Value;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue