diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-14 12:43:17 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-14 12:43:17 +0100 |
commit | 12143c33141a9c35e8eb01609062655f560b4bc1 (patch) | |
tree | a215c1cffa153c2cb8b32214fe74bbd99e99c239 /src/common.hpp | |
parent | 171e12893048f29bddccf2de183a1dec2f0a00fa (diff) |
Get rid of all the time parameters in game.
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common.hpp b/src/common.hpp index 8a86482..2d2af4a 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -183,14 +183,13 @@ namespace game { class unit_t; class state_t { - double now, dt; - std::unordered_set<unit_t*> units; std::unordered_set<unit_t*> selected_units; std::unordered_set<unit_t*> awake_units; public: world::world_t world; + double now, dt; void start(void); void stop(void); |