|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
#include <BoomerangSystem.hpp>
Public Member Functions | |
| BoomerangSystem (ecs::Registry ®istry) | |
| 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 & | _registry |
Definition at line 18 of file BoomerangSystem.hpp.
|
explicit |
Definition at line 11 of file BoomerangSystem.cpp.
|
overridevirtual |
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 15 of file BoomerangSystem.cpp.
References _registry, rtp::log::debug(), rtp::ecs::Registry::get(), rtp::ecs::Entity::index(), rtp::log::info(), rtp::ecs::Registry::kill(), and rtp::Vec2< T >::x.
|
private |
Definition at line 24 of file BoomerangSystem.hpp.
Referenced by update().