Пример #1
0
 public RoundManager(
     IEnumerable <Bot> bots,
     TimerService timerService,
     EventNotifier notifier,
     IControlledRandom random)
 {
     this.playerCircle       = new PlayerCircle();
     this.handEvaluator      = new HandWinEvaluator();
     this.rulesEngine        = new GameRulesEngine();
     this.playerStateManager = new PlayerStateManager();
     this.agentLookup        = new AgentLookup();
     this.notifier           = notifier;
     this.random             = random;
     this.timerService       = timerService;
     this.AddBots(bots);
     this.Reset();
 }
Пример #2
0
 public void Setup()
 {
     _sut = new PlayerCircle(players);
 }