示例#1
0
 public GameMoveManager(IGameRepository gameRepository,
                        IGameTeamRepository gameTeamRepository,
                        IGameStatusRepository gameStatusRepository,
                        IMoveValidatorFactory validationFactory,
                        IEventBroadcaster eventBroadcaster,
                        IGameMoveRepository gameMoveRepository,
                        IGameFieldRepository gameFieldRepository,
                        INextTeamProvider nextTeamProvider,
                        IEndGameChecker endGameChecker)
 {
     this.gameRepository       = gameRepository;
     this.validationFactory    = validationFactory;
     this.gameTeamRepository   = gameTeamRepository;
     this.gameStatusRepository = gameStatusRepository;
     this.eventBroadcaster     = eventBroadcaster;
     this.gameMoveRepository   = gameMoveRepository;
     this.gameFieldRepository  = gameFieldRepository;
     this.nextTeamProvider     = nextTeamProvider;
     this.endGameChecker       = endGameChecker;
 }
示例#2
0
 public Judge(IEndGameChecker endGameChecker, IMoveValidationList moveValidationList)
 {
     this.endGameChecker     = endGameChecker;
     this.moveValidationList = moveValidationList;
 }