summaryrefslogtreecommitdiff
path: root/game/gamestate.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-09-20 20:17:32 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-09-20 20:17:44 +0100
commit489fa7f930689dc9ff271138e613a8d68d88ee45 (patch)
treef4f4b3c8ca55e08f797dc04e0ba3d745133fba13 /game/gamestate.h
parentUpdate getSunPos to use a standard time_t (diff)
downloadilt-489fa7f930689dc9ff271138e613a8d68d88ee45.tar.bz2
ilt-489fa7f930689dc9ff271138e613a8d68d88ee45.tar.xz
ilt-489fa7f930689dc9ff271138e613a8d68d88ee45.zip
Add basic environment object
Will hold world time/date, weather, location etc
Diffstat (limited to 'game/gamestate.h')
-rw-r--r--game/gamestate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/gamestate.h b/game/gamestate.h
index f07f844..892aa69 100644
--- a/game/gamestate.h
+++ b/game/gamestate.h
@@ -7,6 +7,7 @@
class WorldObject;
class GeoData;
+class Environment;
class GameState {
public:
@@ -17,6 +18,7 @@ public:
Collection<WorldObject> world;
std::shared_ptr<GeoData> geoData;
+ std::shared_ptr<Environment> environment;
AssetFactory::Assets assets;
};