private void Construct(IGameStatusObserver gameStatusObserver, IGameMaster gameMaster) { GameStatusObserver = gameStatusObserver.CheckNull(); GameMaster = gameMaster.CheckNull(); GameMaster.OnCompleteGame += OnCompleteGameHandler; }
public GamePresenter(IBoardView boardView, IGameMaster gameMaster, IBoardModel boardModel, IBoardViewModel boardViewModel) { BoardView = boardView.CheckNull(); GameMaster = gameMaster.CheckNull(); BoardModel = boardModel.CheckNull(); BoardViewModel = boardViewModel.CheckNull(); }
public AiRandomGameControl(IBoardModel boardModel, IFigureModel figureModel, IGameMaster gameMaster, IGameSwitcherTurn gameSwitcherTurn) { BoardModel = boardModel.CheckNull(); FigureModel = figureModel.CheckNull(); GameMaster = gameMaster.CheckNull(); GameSwitcherTurn = gameSwitcherTurn.CheckNull(); }
private void Construct(IGameMaster gameMaster, IGameMoveTurnManager gameMoveTurnManager) { GameMaster = gameMaster.CheckNull(); GameMoveTurnManager = gameMoveTurnManager.CheckNull(); }