summaryrefslogtreecommitdiff
path: root/game/gamestate.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-17 12:26:22 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-17 12:26:22 +0100
commitf898bdeae6a9f8d6525f73c51996062f8c5e8f57 (patch)
tree07db9eeda9dba7574b1271b3e2ec5990911ee360 /game/gamestate.h
parentCreate a large test forest (diff)
downloadilt-f898bdeae6a9f8d6525f73c51996062f8c5e8f57.tar.bz2
ilt-f898bdeae6a9f8d6525f73c51996062f8c5e8f57.tar.xz
ilt-f898bdeae6a9f8d6525f73c51996062f8c5e8f57.zip
Assets moved to global game state
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 605aac4..db223c0 100644
--- a/game/gamestate.h
+++ b/game/gamestate.h
@@ -1,5 +1,6 @@
#pragma once
+#include "assetFactory/assetFactory.h"
#include <collection.hpp>
#include <memory>
#include <special_members.hpp>
@@ -16,5 +17,6 @@ public:
Collection<WorldObject> world;
std::shared_ptr<GeoData> geoData;
+ AssetFactory::Assets assets;
};
extern GameState * gameState;