コード例 #1
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();
 }
コード例 #2
0
 private void Construct(IGameMaster gameMaster, IGameMoveTurnManager gameMoveTurnManager)
 {
     GameMaster          = gameMaster.CheckNull();
     GameMoveTurnManager = gameMoveTurnManager.CheckNull();
 }