示例#1
0
 public BoardPreparation(IBoardCreator boardCreator,
                         IFigureCreator figureCreator,
                         IBoardModel boardModel,
                         IFigureController figureController)
 {
     BoardCreator     = boardCreator.CheckNull();
     FigureCreator    = figureCreator.CheckNull();
     BoardModel       = boardModel.CheckNull();
     FigureController = figureController.CheckNull();
 }
示例#2
0
 public GamePresenter(IBoardView boardView,
                      IGameMaster gameMaster,
                      IBoardModel boardModel,
                      IBoardViewModel boardViewModel)
 {
     BoardView      = boardView.CheckNull();
     GameMaster     = gameMaster.CheckNull();
     BoardModel     = boardModel.CheckNull();
     BoardViewModel = boardViewModel.CheckNull();
 }
示例#3
0
 public AiRandomGameControl(IBoardModel boardModel,
                            IFigureModel figureModel,
                            IGameMaster gameMaster,
                            IGameSwitcherTurn gameSwitcherTurn)
 {
     BoardModel       = boardModel.CheckNull();
     FigureModel      = figureModel.CheckNull();
     GameMaster       = gameMaster.CheckNull();
     GameSwitcherTurn = gameSwitcherTurn.CheckNull();
 }
示例#4
0
 public GameMaster(IFigureController figureController,
                   IBoardModel boardModel,
                   IGameModel gameModel,
                   IFigurePostTurnLogicManager figurePostTurnLogicManager,
                   IGameMoveTurnManager gameMoveTurnManager)
 {
     FigureController           = figureController.CheckNull();
     BoardModel                 = boardModel.CheckNull();
     GameModel                  = gameModel.CheckNull();
     FigurePostTurnLogicManager = figurePostTurnLogicManager.CheckNull();
     GameMoveTurnManager        = gameMoveTurnManager.CheckNull();
 }
 public void Construct(IBoardModel boardModel, IGameModel gameModel)
 {
     BoardModel = boardModel.CheckNull();
     GameModel  = gameModel.CheckNull();
 }