mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 11:05:54 +00:00
Delayed speed increase modifier
This commit is contained in:
parent
0e26056aa1
commit
97027ddc33
11 changed files with 145 additions and 9 deletions
|
|
@ -59,9 +59,14 @@ public partial class Bullet : Area2D
|
|||
{
|
||||
modifier.Applied = true;
|
||||
modifier.TimeModifier.Start(this);
|
||||
modifier.Elapsed = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
modifier.Elapsed += delta;
|
||||
}
|
||||
|
||||
modifier.TimeModifier.Update(this, delta);
|
||||
modifier.TimeModifier.Update(this, delta, modifier.Elapsed);
|
||||
|
||||
// switch (modifier.ModifierType)
|
||||
// {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue