Antkeeper
0.0.1
|
Abstract base class for updatable systems. More...
#include <updatable-system.hpp>
Public Member Functions | |
updatable_system (entity::registry ®istry) | |
Creates an updatable system. More... | |
virtual void | update (float t, float dt)=0 |
Perform's a system's update() function. More... | |
Protected Attributes | |
entity::registry & | registry |
Registry on which the system operate. More... | |
Abstract base class for updatable systems.
Definition at line 29 of file updatable-system.hpp.
|
explicit |
Creates an updatable system.
registry | Reference to the registry on which the system will operate. |
Definition at line 23 of file updatable-system.cpp.
|
pure virtual |
Perform's a system's update() function.
t | Total elapsed time, in seconds. |
dt | Delta time, in seconds. |
Implemented in reproductive_system, physics_system, locomotion_system, ik_system, camera_system, blackbody_system, animation_system, terrain_system, subterrain_system, steering_system, spatial_system, render_system, orbit_system, morphogenesis_system, metamorphosis_system, metabolic_system, constraint_system, collision_system, behavior_system, atmosphere_system, and astronomy_system.
|
protected |
Registry on which the system operate.
Definition at line 49 of file updatable-system.hpp.