blob: 892aa69dfd2ca3c0bcef31d0e848dc23775e3c1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include "assetFactory/assetFactory.h"
#include <collection.h>
#include <memory>
#include <special_members.h>
class WorldObject;
class GeoData;
class Environment;
class GameState {
public:
GameState();
~GameState();
NO_MOVE(GameState);
NO_COPY(GameState);
Collection<WorldObject> world;
std::shared_ptr<GeoData> geoData;
std::shared_ptr<Environment> environment;
AssetFactory::Assets assets;
};
extern GameState * gameState;
|