public Area() { discovered = false; position = Vector2IntS.zero; pathToSaveTo = AreaManager.CurrentSaveFolder + position.x + "_" + position.y + ".xml"; type = areaTypes[0]; entities = new List <Entity>(); }
public Area(AreaType areaType, Vector2Int Position) { discovered = false; position = new Vector2IntS(Position); pathToSaveTo = AreaManager.CurrentSaveFolder + position.x + "_" + position.y + ".xml"; type = areaType; entities = new List <Entity>(); }
public void SetPosition(Vector2Int newPosition) { position = new Vector2IntS(newPosition); }