Acheron
Loading...
Searching...
No Matches
acheron::ecs::System Class Reference

Systems called every frame based on entities. More...

#include <system.hpp>

Inheritance diagram for acheron::ecs::System:
acheron::ecs::SystemFunction< Func >

Public Member Functions

virtual void Update (World &world, double dt)
 This function is overriden with the functionality of the System.

Public Attributes

std::unordered_set< Entity > entities
 List of entities a system is matched with.

Detailed Description

Systems called every frame based on entities.

Member Function Documentation

◆ Update()

virtual void acheron::ecs::System::Update ( World & world,
double dt )
inlinevirtual

This function is overriden with the functionality of the System.

Parameters
worldA reference to the World
dtDelta Time

Reimplemented in acheron::ecs::SystemFunction< Func >.


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