예제 #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 };
 }
예제 #2
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};
 }