Exemplo n.º 1
0
 public static Room house_cast(PlaceableObject obj)
 {
     return((object)obj.GetType() == (object)typeof(Room) ? (Room)obj : (Room)null);
 }
Exemplo n.º 2
0
 public static Door house_cast(PlaceableObject obj)
 {
     return((object)obj.GetType() == (object)typeof(Door) ? (Door)obj : (Door)null);
 }