diff options
Diffstat (limited to 'src/render.cpp')
-rw-r--r-- | src/render.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/render.cpp b/src/render.cpp index 4e32311..a63d63a 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -99,14 +99,16 @@ void render(const int& fps) } // namespace render -#include <ui.hpp> -#include <window.hpp> -#include <world.hpp> #include <engine.hpp> +#include <gametime.hpp> +#include <inventory.hpp> #include <particle.hpp> #include <player.hpp> +#include <ui.hpp> +#include <window.hpp> +#include <world.hpp> + #include <entityx/entityx.h> -#include <gametime.hpp> void preRender(void) { @@ -172,6 +174,8 @@ void render(const int& fps) game::engine.getSystem<RenderSystem>()->render(); + game::engine.getSystem<InventorySystem>()->render(); + // draw the debug overlay if desired if (ui::debug) { auto pos = game::engine.getSystem<PlayerSystem>()->getPosition(); |