public Area(int x, int y, int h, int w, orientation or, buildingTypeEnum areaType) { this.height = h; this.width = w; this.x = x; this.y = y; this.dir = or; this.areaType = areaType; this.depth = 1; }
public Area(int x, int y, int h, int w, orientation or, int depth) { this.height = h; this.width = w; this.x = x; this.y = y; this.dir = or; this.areaType = buildingTypeEnum.BUILDING; this.depth = depth; }
public static Building MakeBuilding(double bldarea, string bldgname, buildingTypeEnum bldgType) { Building zeb = new Building(); zeb.Area = bldarea; zeb.id = bldgname; zeb.buildingType = bldgType; //this has been arbitrarily defined and could be changed zeb.bldgStories = new BuildingStorey[1000]; zeb.Spaces = new Space[10000]; return(zeb); }
public static Building MakeBuilding(double bldarea, string bldgname,buildingTypeEnum bldgType) { Building zeb = new Building(); zeb.Area = bldarea; zeb.id = bldgname; zeb.buildingType = bldgType; //this has been arbitrarily defined and could be changed zeb.bldgStories = new BuildingStorey[1000]; zeb.Spaces = new Space[10000]; return zeb; }