public virtual void Handle(GameCreatedEvent @event)
 {
     _openGames.Add(@event.GameId, new OpenGame(@event.GameId, @event.PlayerId, @event.Created, @event.FirstTo));
 }
 public virtual void Handle(GameCreatedEvent @event)
 {
     _gameDetails.Add(@event.GameId, new GameDetails(@event.GameId, @event.PlayerId));
 }
Ejemplo n.º 3
0
 public void Handle(GameCreatedEvent @event)
 {
     id = @event.GameId;
     title = @event.Title;
     playerOne = new GamePlayer(@event.PlayerId);
     firstTo = @event.FirstTo;
 }