From 8142a9c87a13cecc7a3698e877f24d89f128c074 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 21 Apr 2018 14:50:52 -0400 Subject: Started working on prototype objects --- src/game.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/game.h') diff --git a/src/game.h b/src/game.h index 43e08da..2dd7f91 100644 --- a/src/game.h +++ b/src/game.h @@ -5,6 +5,7 @@ #include "system_manager.h" #include "world.h" #include "renderer/renderer.h" +#include "prototype_manager.h" class Game { public: @@ -28,11 +29,16 @@ public: return systemManager_; } - inline const World& getWorld() + inline const World& getWorld() const { return world_; } + inline const PrototypeManager& getPrototypeManager() const + { + return prototypes_; + } + friend void key_callback( GLFWwindow* window, int key, @@ -46,6 +52,7 @@ private: EntityManager entityManager_; SystemManager systemManager_; World world_; + PrototypeManager prototypes_; bool shouldQuit_ = false; }; -- cgit 1.4.1