cirnogodot/Scripts/Resources/Modifiers/DelayedSpeedModifier.cs

15 lines
297 B
C#
Raw Normal View History

2025-02-14 16:18:33 +01:00
using Cirno.Scripts.Actors;
2025-06-30 17:28:19 +02:00
using Cirno.Scripts.Weapons;
2025-02-14 16:18:33 +01:00
using Godot;
2025-02-14 13:27:30 +01:00
namespace Cirno.Scripts.Resources.Modifiers;
[GlobalClass]
[Tool]
2025-02-14 13:27:30 +01:00
public partial class DelayedSpeedModifier : TimeModifier
{
2025-06-30 17:28:19 +02:00
public override void Start(IBullet bullet)
2025-02-14 16:18:33 +01:00
{
bullet.Speed = this.Value;
}
2025-02-14 13:27:30 +01:00
}