Esempio n. 1
0
 /*
 public LockedDoor(OverWorld over_world, Tile new_tile, int face, TileMap newTileMapDestination, Door newsister, int newKeyID)
     : base(over_world, new_tile, face, newTileMapDestination, newsister)
 {
     keyID = newKeyID;
     locked = true;
 }
  */
 public bool tryKey(Key _key)
 {
     return (_key.key_id == keyID);
 }
Esempio n. 2
0
 public static int getKEY_ID(Key target)
 {
     return target.key_id;
 }