Example #1
0
 public GameSetupState(GameSM stateMachine)
 {
     _stateMachine = stateMachine;
 }
Example #2
0
 public GameLoseState(GameSM stateMachine)
 {
     _stateMachine = stateMachine;
     _loseMenu     = stateMachine.UI.LoseMenu;
 }
Example #3
0
 public GamePlayingState(GameSM stateMachine)
 {
     _stateMachine = stateMachine;
     _gameMenu     = stateMachine.UI.GameMenu;
 }
 public GamePauseMenuState(GameSM stateMachine)
 {
     _stateMachine = stateMachine;
     _pauseMenu    = stateMachine.UI.PauseMenu;
 }
 public GameWinState(GameSM stateMachine)
 {
     _stateMachine = stateMachine;
     _winMenu      = stateMachine.UI.WinMenu;
 }