//****************** Constructors ****************** public MapObject(string name, bool passibility, mPoint location, int width, int length) { Name = name; Passible = passibility; ObjShape = new RectangleObj(location, width, length); }
public MapObject(Room_Object rObj) { Name = rObj.Name; Permanent = rObj.Permanent; Passible = false; ObjShape = new RectangleObj(new mPoint(rObj.Origin_U, rObj.Origin_V), rObj.Width_U, rObj.Length_V); }
public MapArea(Region region) { Name = region.Name; ObjShape = new RectangleObj(new mPoint(region.Origin_U, region.Origin_V), region.Width_U, region.Length_V); xmlRegion = region; }
//****************** Constructors ****************** public MapArea(string name, mPoint location, double width, double length) { Name = name; ObjShape = new RectangleObj(location, width, length); }