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