summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-11-08 12:02:19 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-11-08 12:02:19 +0100
commitc5a621b3ebeb180d2181df35038ed856714b64e2 (patch)
tree532aa4b70b0dcca59d908bc78a72b051095b6a87 /src/common.hpp
parent5186351345d43801ac45acde8b7e30734eea0349 (diff)
Start implementing the units list.
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common.hpp b/src/common.hpp
index 44493eb..f89ae08 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -176,12 +176,15 @@ namespace game {
class state_t {
double now;
+
+ std::unordered_set<unit_t*> units;
std::unordered_set<unit_t*> selected_units;
public:
world::world_t world;
void start(void);
+ void stop(void);
void tick(double now_);
// These are called by the interface.