![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
Update entities with a rigid body component. More...
#include <PhysicsSystem.hpp>
Public Member Functions | |
PhysicsSystem () | |
Constructor. | |
virtual | ~PhysicsSystem () |
Destructor. | |
void | update (entt::registry ®istry) override |
Abstract implementation for updating the system. Use the manager to retreive your components. | |
![]() | |
virtual | ~System () noexcept |
Destructor. | |
const std::string & | id () const noexcept |
Get identifier. | |
Additional Inherited Members | |
![]() | |
System (const std::string &id) noexcept | |
Constructor. | |
![]() | |
std::string | m_id |
Debug id. | |
Update entities with a rigid body component.
Definition at line 20 of file PhysicsSystem.hpp.
galaxy::systems::PhysicsSystem::PhysicsSystem | ( | ) |
Constructor.
Definition at line 21 of file PhysicsSystem.cpp.
|
virtual |
Destructor.
Definition at line 25 of file PhysicsSystem.cpp.
|
overridevirtual |
Abstract implementation for updating the system. Use the manager to retreive your components.
EnTT | registry to process entities from. |
Implements galaxy::systems::System.
Definition at line 29 of file PhysicsSystem.cpp.