Exemple #1
0
 public TestStateFirst(Action startCallback, Action exitCallback) : base(startCallback, exitCallback)
 {
     CanMoveToStates.Add(typeof(TestStateSecond));
 }
 public PlayerMovingState()
 {
     CanMoveToStates.Add(typeof(PlayerIdleState));
 }
Exemple #3
0
 public GameStateLoading(MonoBehaviour coroutineRunner)
 {
     _coroutineRunner = coroutineRunner;
     CanMoveToStates.Add(typeof(GameStatePlaying));
 }
Exemple #4
0
 public GameStatePlaying(GameSession session)
 {
     _session = session;
     CanMoveToStates.Add(typeof(GameStateGameOver));
 }