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