public MoveRightControlBlocksService(
     CollisionDetection collisionDetection,
     IControlBlocksPresenter controlBlocksPresenter
     )
 {
     CollisionDetection     = collisionDetection;
     ControlBlocksPresenter = controlBlocksPresenter;
 }
Exemple #2
0
 public InitializeUiUseCase(
     IBoard board,
     BlocksQueuePresenter blocksQueuePresenter,
     IControlBlocksPresenter controlBlocksPresenter
     )
 {
     Board = board;
     BlocksQueuePresenter   = blocksQueuePresenter;
     ControlBlocksPresenter = controlBlocksPresenter;
 }
 public GetNextControlBlocksService(
     IBoard board,
     IBlocksQueue blocksQueue,
     IControlBlocksPresenter controlBlocksPresenter,
     BlocksQueuePresenter blocksQueuePresenter
     )
 {
     Board                  = board;
     BlocksQueue            = blocksQueue;
     ControlBlocksPresenter = controlBlocksPresenter;
     BlocksQueuePresenter   = blocksQueuePresenter;
 }
Exemple #4
0
 public BlockControllUseCase(
     PutControlBlocksService putControlBlocksService,
     GetNextControlBlocksService getNextControlBlocksService,
     EraseLineService eraseLineService,
     IBoard board,
     GameOverEvent gameOverEvent,
     IControlBlocksPresenter controlBlocksPresenter,
     ControlBlocksAdjuster adjuster
     )
 {
     PutControlBlocksService     = putControlBlocksService;
     GetNextControlBlocksService = getNextControlBlocksService;
     EraseLineService            = eraseLineService;
     Board                  = board;
     GameOverEvent          = gameOverEvent;
     ControlBlocksPresenter = controlBlocksPresenter;
     Adjuster               = adjuster;
 }
 public ControlBlocksAdjuster(CollisionDetection collisionDetection, IControlBlocksPresenter controlBlocksPresenter)
 {
     CollisionDetection     = collisionDetection;
     ControlBlocksPresenter = controlBlocksPresenter;
 }