public FigurePresenter(IBoardViewModel boardViewModel, IFigureController figureController, IFigureViewModel figureViewModel, IFigureViewFactory figureViewFactory) { BoardViewModel = boardViewModel.CheckNull(); FigureController = figureController.CheckNull(); FigureViewModel = figureViewModel.CheckNull(); FigureViewFactory = figureViewFactory.CheckNull(); }
public GamePresenter(IBoardView boardView, IGameMaster gameMaster, IBoardModel boardModel, IBoardViewModel boardViewModel) { BoardView = boardView.CheckNull(); GameMaster = gameMaster.CheckNull(); BoardModel = boardModel.CheckNull(); BoardViewModel = boardViewModel.CheckNull(); }