//CONSTRUCTOR public MapObjectNameless(int? nposX = null, int posY=0, int posZ = 0, string type = "") { int posX = nposX ?? Space.MaxX; _type = MapObjectNamelessType.nothing; TypeToString_Display = type; _coordinatesStart = new Coordinates3DUnbound(true, posX, posY, posZ, true); _coordinatesEnd = this._coordinatesStart; _count = 1; Imported = false; }
//CONSTRUCTOR public MapObjectNameless(int?nposX = null, int posY = 0, int posZ = 0, string type = "") { int posX = nposX ?? Space.MaxX; _type = MapObjectNamelessType.nothing; TypeToString_Display = type; _coordinatesStart = new Coordinates3DUnbound(true, posX, posY, posZ, true); _coordinatesEnd = this._coordinatesStart; _count = 1; Imported = false; }
//COPIER public void Copy(bool excludeStartCoordinate, MapObjectNameless source) { if (source == null) { return; } if (!excludeStartCoordinate) { this._coordinatesStart = source._coordinatesStart; } this._coordinatesEnd = this._coordinatesStart + source._coordinatesEnd - source._coordinatesStart; this._aEnd = source._aEnd; this._aStart = source._aStart; this._count = source._count; this._radius = source._radius; this._randomRange = source._randomRange; this._randomSeed = source._randomSeed; if (this._type == MapObjectNamelessType.nothing) { this._type = source._type; } }
public SpecialMapObject_DestroyCircle() { _coordinates = new Coordinates3D(); _radius = 0; _type = MapObjectNamelessType.nothing; }
//COPIER public void Copy(bool excludeStartCoordinate, MapObjectNameless source) { if (source == null) return; if (!excludeStartCoordinate) this._coordinatesStart = source._coordinatesStart; this._coordinatesEnd = this._coordinatesStart + source._coordinatesEnd - source._coordinatesStart; this._aEnd = source._aEnd; this._aStart = source._aStart; this._count = source._count; this._radius = source._radius; this._randomRange = source._randomRange; this._randomSeed = source._randomSeed; if (this._type == MapObjectNamelessType.nothing) this._type = source._type; }
public SpecialMapObject_DestroyCircle() { _coordinates = new Coordinates3D(); _radius = 0; _type = MapObjectNamelessType.nothing; }