Exemplo n.º 1
0
 public Items(MessageBus bus)
 {
     this.bus   = bus;
     this.items = new Dictionary <string, Item>();
 }
Exemplo n.º 2
0
 public RoomMap(MessageBus bus)
 {
     this.bus = bus;
 }
Exemplo n.º 3
0
 public Point(MessageBus bus, Room room)
 {
     this.bus     = bus;
     this.room    = room;
     this.targets = new Dictionary <string, Point>();
 }
Exemplo n.º 4
0
 public EndOfGame(MessageBus bus)
 {
     this.cts = new CancellationTokenSource();
     this.sub = bus.Subscribe <EndOfGameMessage>(m => this.OnEnd(bus, m.Text));
 }