diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index d10c52c..bf2b10b 100644 --- a/src/game.cpp +++ b/src/game.cpp | |||
@@ -12,6 +12,7 @@ | |||
12 | #include "systems/playing.h" | 12 | #include "systems/playing.h" |
13 | #include "systems/scheduling.h" | 13 | #include "systems/scheduling.h" |
14 | #include "systems/realizing.h" | 14 | #include "systems/realizing.h" |
15 | #include "systems/automating.h" | ||
15 | #include "animation.h" | 16 | #include "animation.h" |
16 | #include "consts.h" | 17 | #include "consts.h" |
17 | 18 | ||
@@ -29,12 +30,13 @@ void key_callback(GLFWwindow* window, int key, int, int action, int) | |||
29 | game.systemManager_.input(key, action); | 30 | game.systemManager_.input(key, action); |
30 | } | 31 | } |
31 | 32 | ||
32 | Game::Game() | 33 | Game::Game(std::mt19937& rng) : rng_(rng) |
33 | { | 34 | { |
34 | systemManager_.emplaceSystem<RealizingSystem>(*this); | 35 | systemManager_.emplaceSystem<RealizingSystem>(*this); |
35 | systemManager_.emplaceSystem<PlayingSystem>(*this); | 36 | systemManager_.emplaceSystem<PlayingSystem>(*this); |
36 | systemManager_.emplaceSystem<SchedulingSystem>(*this); | 37 | systemManager_.emplaceSystem<SchedulingSystem>(*this); |
37 | systemManager_.emplaceSystem<ControllingSystem>(*this); | 38 | systemManager_.emplaceSystem<ControllingSystem>(*this); |
39 | systemManager_.emplaceSystem<AutomatingSystem>(*this); | ||
38 | systemManager_.emplaceSystem<OrientingSystem>(*this); | 40 | systemManager_.emplaceSystem<OrientingSystem>(*this); |
39 | systemManager_.emplaceSystem<PonderingSystem>(*this); | 41 | systemManager_.emplaceSystem<PonderingSystem>(*this); |
40 | systemManager_.emplaceSystem<MappingSystem>(*this); | 42 | systemManager_.emplaceSystem<MappingSystem>(*this); |