mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-03 10:55:54 +00:00
3D Boss scripts implementation
This commit is contained in:
parent
b0d0161ab0
commit
dbf7f1a963
29 changed files with 1805 additions and 1188 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using Cirno.Scripts.Actors;
|
||||
using Cirno.Scripts.Weapons;
|
||||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Resources.Modifiers;
|
||||
|
|
@ -13,7 +14,7 @@ public partial class DelayedSpeedIncreaseModifier : TimeModifier
|
|||
|
||||
[Export] public float Duration { get; set; } = 1.0f;
|
||||
|
||||
public override void Update(Bullet bullet, double delta, double elapsed)
|
||||
public override void Update(IBullet bullet, double delta, double elapsed)
|
||||
{
|
||||
float easedValue = ApplyEasing(Value, elapsed);
|
||||
bullet.Speed += easedValue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue