diff options
Diffstat (limited to 'include/systems')
-rw-r--r-- | include/systems/light.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/systems/light.hpp b/include/systems/light.hpp index 71c541a..ba91113 100644 --- a/include/systems/light.hpp +++ b/include/systems/light.hpp @@ -29,6 +29,9 @@ public: static int addLight(vec2 pos, float radius, Color color = Color(1, 1, 1)); static void updateLight(int index, vec2 pos, float radius = -1); static void removeLight(int index); + + static inline void clear(void) + { lights.clear(); } }; #endif // SYSTEM_LIGHT_HPP_ |