public virtual void setSize(int width, int height) { width = JMath.max(1, width); height = JMath.max(1, height); PlaceableObject.requireValidSize(width, height); this.m_width = width; this.m_height = height; }
public static Room house_cast(PlaceableObject obj) { return((object)obj.GetType() == (object)typeof(Room) ? (Room)obj : (Room)null); }
public static Window house_cast(PlaceableObject obj) { throw new NotImplementedException(); }
public void setPosition(int x, int y) { PlaceableObject.requireValidPosition(x, y); this.m_x = x; this.m_y = y; }
public static Door house_cast(PlaceableObject obj) { return((object)obj.GetType() == (object)typeof(Door) ? (Door)obj : (Door)null); }