galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::systems::PhysicsSystem Class Referencefinal

Update entities with a rigid body component. More...

#include <PhysicsSystem.hpp>

+ Inheritance diagram for galaxy::systems::PhysicsSystem:
+ Collaboration diagram for galaxy::systems::PhysicsSystem:

Public Member Functions

 PhysicsSystem ()
 Constructor.
 
virtual ~PhysicsSystem ()
 Destructor.
 
void update (entt::registry &registry) override
 Abstract implementation for updating the system. Use the manager to retreive your components.
 

Detailed Description

Update entities with a rigid body component.

Definition at line 20 of file PhysicsSystem.hpp.

Constructor & Destructor Documentation

◆ PhysicsSystem()

galaxy::systems::PhysicsSystem::PhysicsSystem ( )

Constructor.

Definition at line 21 of file PhysicsSystem.cpp.

◆ ~PhysicsSystem()

galaxy::systems::PhysicsSystem::~PhysicsSystem ( )
virtual

Destructor.

Definition at line 25 of file PhysicsSystem.cpp.

Member Function Documentation

◆ update()

void galaxy::systems::PhysicsSystem::update ( entt::registry & registry)
override

Abstract implementation for updating the system. Use the manager to retreive your components.

Parameters
EnTTregistry to process entities from.

Definition at line 29 of file PhysicsSystem.cpp.


The documentation for this class was generated from the following files: