mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Enemy blinking
This commit is contained in:
parent
79cac3ebae
commit
e5a60a6ccd
11 changed files with 172 additions and 30 deletions
|
|
@ -31,6 +31,11 @@ public abstract partial class StateMachineBase<TKey, TType> : Node, IStateMachin
|
|||
SetState(InitialState);
|
||||
}
|
||||
|
||||
public TKey GetState()
|
||||
{
|
||||
return CurrentState.StateId;
|
||||
}
|
||||
|
||||
public void SetState(TKey stateId)
|
||||
{
|
||||
if (CurrentStateIndex is not null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue