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