public KeyTile(DoorTile doorTile) { this.PairedDoor = doorTile; this.Representation = 'K'; this.IsAccessible = true; this.color = this.PairedDoor.color; }
private void PlaceKeyDoorPair(DoorTile door) { PlaceTile(new KeyTile(door), typeof(RoomTile)); PlaceTile(door, typeof(WallTile)); }