Antkeeper  0.0.1
Public Member Functions | List of all members
locomotion_system Class Reference

#include <locomotion-system.hpp>

Inheritance diagram for locomotion_system:
updatable_system

Public Member Functions

 locomotion_system (entity::registry &registry)
 
void update (float t, float dt) override
 Perform's a system's update() function. More...
 
- Public Member Functions inherited from updatable_system
 updatable_system (entity::registry &registry)
 Creates an updatable system. More...
 

Additional Inherited Members

- Protected Attributes inherited from updatable_system
entity::registryregistry
 Registry on which the system operate. More...
 

Detailed Description

Definition at line 28 of file locomotion-system.hpp.

Constructor & Destructor Documentation

◆ locomotion_system()

locomotion_system::locomotion_system ( entity::registry registry)
explicit

Definition at line 35 of file locomotion-system.cpp.

Member Function Documentation

◆ update()

void locomotion_system::update ( float  t,
float  dt 
)
overridevirtual

Perform's a system's update() function.

Parameters
tTotal elapsed time, in seconds.
dtDelta time, in seconds.

Implements updatable_system.

Definition at line 39 of file locomotion-system.cpp.


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