Esempio n. 1
0
 public GameController(IGameFactory gameFactory)
 {
     Field         = gameFactory.CreateField();
     _firstPlayer  = gameFactory.CreateFirstPlayer();
     _secondPlayer = gameFactory.CreateSecondPlayer();
     _gameEngine   = gameFactory.GetGameEngine();
 }