saving landmass as an XML file

This commit is contained in:
devZoGok
2023-01-21 15:52:03 +02:00
parent fea4d75d08
commit 64fa6d7ea7
3 changed files with 96 additions and 7 deletions
+1
View File
@@ -58,6 +58,7 @@ namespace battleship{
int getCellId(vb01::Vector3, int);
bool isPointWithinTerrainObject(vb01::Vector3, int);
void addTerrainObject(TerrainObject);
inline std::string getMapName(){return mapName;}
inline TerrainObject& getTerrainObject(int i){return terrainObjects[i];}
inline int getNumTerrainObjects(){return terrainObjects.size();}
inline vb01::Node* getNodeParent(){return nodeParent;}