diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-04-21 14:50:52 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-04-21 14:50:52 -0400 |
commit | 8142a9c87a13cecc7a3698e877f24d89f128c074 (patch) | |
tree | cbee6ae85c5c674dd313c7cfe1420477ee55ca95 /src/game.cpp | |
parent | 0f70db34d9b47de55b00c558ac3c445f30b7b6a5 (diff) | |
download | therapy-8142a9c87a13cecc7a3698e877f24d89f128c074.tar.gz therapy-8142a9c87a13cecc7a3698e877f24d89f128c074.tar.bz2 therapy-8142a9c87a13cecc7a3698e877f24d89f128c074.zip |
Started working on prototype objects proto-objs
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); |