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