Пример #1
0
 public GameStartingPresenter(IPlayerBallEntity playerBallEntity,
                              IPlayerBallView playerBallView,
                              IGameModel gameModel)
 {
     PlayerBallEntity = playerBallEntity.CheckNull();
     PlayerBallView   = playerBallView.CheckNull();
     GameModel        = gameModel.CheckNull();
 }
Пример #2
0
 public BoardTileFallTracker(IBoardTileModel boardTileModel,
                             IPlayerBallView playerBallView,
                             IBoardTileRemover boardTileRemover,
                             IBoardTileCreator boardTileCreator)
 {
     BoardTileModel   = boardTileModel.CheckNull();
     PlayerBallView   = playerBallView.CheckNull();
     BoardTileRemover = boardTileRemover.CheckNull();
     BoardTileCreator = boardTileCreator.CheckNull();
 }
Пример #3
0
 public GameCompletedPresenter(IBoardTileModel boardTileModel,
                               IBoardTileRemover boardTileRemover,
                               ILootModel lootModel,
                               ILootRemover lootRemover,
                               IGameModel gameModel,
                               IPlayerBallView playerBallView)
 {
     BoardTileModel   = boardTileModel.CheckNull();
     BoardTileRemover = boardTileRemover.CheckNull();
     LootModel        = lootModel.CheckNull();
     LootRemover      = lootRemover.CheckNull();
     GameModel        = gameModel.CheckNull();
     PlayerBallView   = playerBallView.CheckNull();
 }
Пример #4
0
 public PlayerBallFallTracker(IPlayerBallView playerBallView, IGameStatusObserver gameStatusObserver)
 {
     PlayerBallView     = playerBallView.CheckNull();
     GameStatusObserver = gameStatusObserver.CheckNull();
 }