|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
#include <ParallaxSystem.hpp>
Public Member Functions | |
| ParallaxSystem (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 10 of file ParallaxSystem.hpp.
|
inlineexplicit |
Definition at line 12 of file ParallaxSystem.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 14 of file ParallaxSystem.hpp.
References _r, rtp::ecs::components::ParallaxLayer::speed, and rtp::ecs::Registry::zipView().
|
private |
Definition at line 28 of file ParallaxSystem.hpp.
Referenced by update().