private void Construct(IFigureCreator figureCreator, IFigureController figureController) { _figureDefsToTransform.CheckNull(); Assert.IsTrue(_blackLastRow != BoardCellRow.None); Assert.IsTrue(_whiteLastRow != BoardCellRow.None); FigureCreator = figureCreator.CheckNull(); FigureController = figureController.CheckNull(); }
public BoardPreparation(IBoardCreator boardCreator, IFigureCreator figureCreator, IBoardModel boardModel, IFigureController figureController) { BoardCreator = boardCreator.CheckNull(); FigureCreator = figureCreator.CheckNull(); BoardModel = boardModel.CheckNull(); FigureController = figureController.CheckNull(); }
public FigurePresenter(IBoardViewModel boardViewModel, IFigureController figureController, IFigureViewModel figureViewModel, IFigureViewFactory figureViewFactory) { BoardViewModel = boardViewModel.CheckNull(); FigureController = figureController.CheckNull(); FigureViewModel = figureViewModel.CheckNull(); FigureViewFactory = figureViewFactory.CheckNull(); }
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(); }