Exemple #1
0
 public PhutballPresenter(GameStatePresenter gameStatePresenter,
                          GameOptionsPresenter gameOptions,
                          PhutballBoardPresenter boardPresenter,
                          CheatsPresenter cheatsPresenter,
                          MovesHistoryPresenter movesHistory
                          )
 {
     GameOptions       = gameOptions;
     GameState         = gameStatePresenter;
     Board             = boardPresenter;
     Cheats            = cheatsPresenter;
     MovesHistory      = movesHistory;
     _screenCollection = new Screen[] { GameOptions, GameState, Board, Cheats, MovesHistory };
 }
 public PhutballPresenter(GameStatePresenter gameStatePresenter,
     GameOptionsPresenter gameOptions,
     PhutballBoardPresenter boardPresenter,
     CheatsPresenter cheatsPresenter,
     MovesHistoryPresenter movesHistory
     )
 {
     GameOptions = gameOptions;
     GameState = gameStatePresenter;
     Board = boardPresenter;
     Cheats = cheatsPresenter;
     MovesHistory = movesHistory;
     _screenCollection = new Screen[] {GameOptions, GameState, Board, Cheats, MovesHistory};
 }