Antkeeper  0.0.1
Public Member Functions | Protected Attributes | List of all members
updatable_system Class Referenceabstract

Abstract base class for updatable systems. More...

#include <updatable-system.hpp>

Inheritance diagram for updatable_system:
animation_system astronomy_system atmosphere_system behavior_system blackbody_system camera_system collision_system constraint_system ik_system locomotion_system metabolic_system metamorphosis_system morphogenesis_system orbit_system physics_system render_system reproductive_system spatial_system steering_system subterrain_system terrain_system

Public Member Functions

 updatable_system (entity::registry &registry)
 Creates an updatable system. More...
 
virtual void update (float t, float dt)=0
 Perform's a system's update() function. More...
 

Protected Attributes

entity::registryregistry
 Registry on which the system operate. More...
 

Detailed Description

Abstract base class for updatable systems.

Definition at line 29 of file updatable-system.hpp.

Constructor & Destructor Documentation

◆ updatable_system()

updatable_system::updatable_system ( entity::registry registry)
explicit

Creates an updatable system.

Parameters
registryReference to the registry on which the system will operate.

Definition at line 23 of file updatable-system.cpp.

Member Function Documentation

◆ update()

virtual void updatable_system::update ( float  t,
float  dt 
)
pure virtual

Member Data Documentation

◆ registry

entity::registry& updatable_system::registry
protected

Registry on which the system operate.

Definition at line 49 of file updatable-system.hpp.


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