예제 #1
0
 public GameStateFactory(MenuState.Factory menuFactory,
                         GameplayState.Factory gameplayFactory,
                         GameOverState.Factory gameOverFactory,
                         VictoryState.Factory victoryFactory)
 {
     _menuFactory     = menuFactory;
     _gameplayFactory = gameplayFactory;
     _gameOverFactory = gameOverFactory;
     _victoryFactory  = victoryFactory;
 }
예제 #2
0
 public GameStateFactory(GameState.Factory gamePlayFactory,
                         MenuState.Factory menuStateFactory)
 {
     _gamePlayFactory  = gamePlayFactory;
     _menuStateFactory = menuStateFactory;
 }