summaryrefslogtreecommitdiff
path: root/game/gamestate.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-02-09 20:14:51 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-02-09 20:14:54 +0000
commit42e16ad8ad853c6e97d7eb6718ee0f78b868be30 (patch)
tree3a91a5922b3557132da271339a665576a7ad714a /game/gamestate.h
parentSplit GeoData mesh basics into a subclass (diff)
downloadilt-42e16ad8ad853c6e97d7eb6718ee0f78b868be30.tar.bz2
ilt-42e16ad8ad853c6e97d7eb6718ee0f78b868be30.tar.xz
ilt-42e16ad8ad853c6e97d7eb6718ee0f78b868be30.zip
Combine GeoData and Terrain class hierarchies
Diffstat (limited to 'game/gamestate.h')
-rw-r--r--game/gamestate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/gamestate.h b/game/gamestate.h
index 892aa69..189417d 100644
--- a/game/gamestate.h
+++ b/game/gamestate.h
@@ -6,7 +6,7 @@
#include <special_members.h>
class WorldObject;
-class GeoData;
+class Terrain;
class Environment;
class GameState {
@@ -17,7 +17,7 @@ public:
NO_COPY(GameState);
Collection<WorldObject> world;
- std::shared_ptr<GeoData> geoData;
+ std::shared_ptr<Terrain> terrain;
std::shared_ptr<Environment> environment;
AssetFactory::Assets assets;
};