This commit is contained in:
CortexCore
2023-09-01 14:35:05 +08:00
parent a71288cf2d
commit 5561f5c3cc
136 changed files with 69284 additions and 66121 deletions

View File

@@ -8,7 +8,7 @@ namespace BITKit.StateMachine
bool Enabled { get; set; }
void Initialize();
void OnStateEntry(IState old);
void OnStateUpdate();
void OnStateUpdate(float deltaTime);
void OnStateExit(IState old, IState newState);
}
@@ -19,7 +19,7 @@ namespace BITKit.StateMachine
event Action<T,T> OnStateChanged;
IDictionary<Type, T> StateDictionary { get; }
void Initialize();
void UpdateState();
void UpdateState(float deltaTime);
void DisposeState();
void TransitionState<State>() where State : T;
void TransitionState(T state);