public static Room house_cast(PlaceableObject obj) { return((object)obj.GetType() == (object)typeof(Room) ? (Room)obj : (Room)null); }
public static Door house_cast(PlaceableObject obj) { return((object)obj.GetType() == (object)typeof(Door) ? (Door)obj : (Door)null); }