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 3da23a3..5259739 100644 --- a/src/game.cpp +++ b/src/game.cpp | |||
| @@ -28,7 +28,9 @@ void key_callback(GLFWwindow* window, int key, int, int action, int) | |||
| 28 | game.systemManager_.input(key, action); | 28 | game.systemManager_.input(key, action); |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | Game::Game() : world_("res/maps.xml") | 31 | Game::Game() : |
| 32 | world_("res/maps.xml"), | ||
| 33 | prototypes_("res/entities.xml") | ||
| 32 | { | 34 | { |
| 33 | systemManager_.emplaceSystem<PlayingSystem>(*this); | 35 | systemManager_.emplaceSystem<PlayingSystem>(*this); |
| 34 | systemManager_.emplaceSystem<SchedulingSystem>(*this); | 36 | systemManager_.emplaceSystem<SchedulingSystem>(*this); |
