|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
#include <ScoreSystem.hpp>
Public Member Functions | |
| ScoreSystem (ecs::Registry &r) | |
| void | update (float dt) override |
| Update system logic for one frame. | |
Public Member Functions inherited from rtp::ecs::ISystem | |
| virtual | ~ISystem () noexcept=default |
Private Attributes | |
| ecs::Registry & | _r |
Definition at line 18 of file ScoreSystem.hpp.
|
inlineexplicit |
Definition at line 20 of file ScoreSystem.hpp.
|
inlineoverridevirtual |
Update system logic for one frame.
| registry | The entity registry to operate on |
| deltaTime | Time elapsed since last update in seconds |
Implements rtp::ecs::ISystem.
Definition at line 24 of file ScoreSystem.hpp.
References _r, rtp::ecs::components::Score::value, and rtp::ecs::Registry::view().
|
private |
Definition at line 35 of file ScoreSystem.hpp.
Referenced by update().