aboutsummaryrefslogtreecommitdiffstats
path: root/include/components.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/components.hpp')
-rw-r--r--include/components.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/components.hpp b/include/components.hpp
index 87d4293..fe8e7a6 100644
--- a/include/components.hpp
+++ b/include/components.hpp
@@ -655,14 +655,15 @@ public:
class RenderSystem : public entityx::System<RenderSystem> {
private:
- std::string loadTexString;
- Texture loadTexResult;
+ static std::string loadTexString;
+ static Texture loadTexResult;
public:
- Texture loadTexture(const std::string& file);
+ static Texture loadTexture(const std::string& file);
+ static void render(void);
+
void update(entityx::EntityManager &en, entityx::EventManager &ev, entityx::TimeDelta dt) override
{ (void)en; (void)ev; (void)dt; }
- void render(void);
};
class DialogSystem : public entityx::System<DialogSystem>, public entityx::Receiver<DialogSystem> {