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