Enemy blinking

This commit is contained in:
Marco 2025-06-26 14:03:36 +02:00
commit e5a60a6ccd
11 changed files with 172 additions and 30 deletions

View file

@ -30,7 +30,12 @@ public abstract partial class IsoStateMachineBase<TKey, TType> : Node, IStateMac
}
SetState(InitialState);
}
public TKey GetState()
{
return CurrentState.StateId;
}
public void SetState(TKey stateId)
{
if (CurrentStateIndex is not null)