System for rendering health bars above entities in multiplayer mode. More...
#include "ECS/Interfaces/ISystems.hpp"#include "ECS/Registry.hpp"#include "Interfaces/IRenderer.hpp"#include <memory>
Include dependency graph for HealthBarSystem.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | gme::HealthBarSystem |
| ECS System that renders dynamic health bars above entities. More... | |
Namespaces | |
| namespace | gme |
System for rendering health bars above entities in multiplayer mode.
This system automatically renders health bars above all entities that have a Health component. The health bars dynamically change color based on the remaining health percentage and follow the entity's position.
Definition in file HealthBarSystem.hpp.