Antkeeper
0.0.1
|
Applies constraint stacks to transform components. More...
#include <constraint-system.hpp>
Public Member Functions | |
constraint_system (entity::registry ®istry) | |
~constraint_system () | |
virtual void | update (float t, float dt) |
Perform's a system's update() function. More... | |
void | evaluate (entity::id entity_id) |
Manually evaluates an entity's constraints. More... | |
![]() | |
updatable_system (entity::registry ®istry) | |
Creates an updatable system. More... | |
Additional Inherited Members | |
![]() | |
entity::registry & | registry |
Registry on which the system operate. More... | |
Applies constraint stacks to transform components.
Definition at line 43 of file constraint-system.hpp.
|
explicit |
Definition at line 24 of file constraint-system.cpp.
constraint_system::~constraint_system | ( | ) |
Definition at line 32 of file constraint-system.cpp.
void constraint_system::evaluate | ( | entity::id | entity_id | ) |
Manually evaluates an entity's constraints.
entity_id | ID of a constrained entity. |
Definition at line 73 of file constraint-system.cpp.
|
virtual |
Perform's a system's update() function.
t | Total elapsed time, in seconds. |
dt | Delta time, in seconds. |
Implements updatable_system.
Definition at line 39 of file constraint-system.cpp.