Exemplo n.º 1
0
 public ARWorld(string roomName, EventStream eventStream, DomainEventPublisher domainEventPublisher)
 {
     _domainEventPublisher = domainEventPublisher;
     RoomName = roomName;
     foreach (var @event in eventStream.Events)
     {
         Mutate(@event);
     }
 }
Exemplo n.º 2
0
 public Player(string playerId, string playerName, DomainEventPublisher domainEventPublisher)
 {
     PlayerId              = playerId;
     PlayerName            = playerName;
     _domainEventPublisher = domainEventPublisher;
 }