public virtual void Handle(RoundStartedEvent @event)
 {
     if (!_gameDetails.ContainsKey(@event.GameId)) return;
     var gameDetails = _gameDetails[@event.GameId];
     gameDetails.AddRound(new Round(@event.Round));
 }
Ejemplo n.º 2
0
 public void Handle(RoundStartedEvent @event)
 {
     round = @event.Round;
     playerOne.CurrentChoice = Choice.None;
     playerTwo.CurrentChoice = Choice.None;
 }