Ejemplo n.º 1
0
        //****************** Constructors ******************

        public MapObject(string name, bool passibility, mPoint location, int width, int length)
        {
            Name     = name;
            Passible = passibility;

            ObjShape = new RectangleObj(location, width, length);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
        //****************** Constructors ******************

        public MapArea(string name, mPoint location, double width, double length)
        {
            Name     = name;
            ObjShape = new RectangleObj(location, width, length);
        }