ecs
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ecs::ISystem Class Referenceabstract

#include <System.hpp>

Inheritance diagram for ecs::ISystem:
DisplaySystem HealthSystem MoveSystem

Public Member Functions

virtual ~ISystem ()=default
 Virtual destructor to allow safe polymorphic destruction.
 
virtual void update (Registry &)=0
 Pure virtual function executed by all concrete systems.
 

Detailed Description

Examples
TestEcs.cpp.

Constructor & Destructor Documentation

◆ ~ISystem()

virtual ecs::ISystem::~ISystem ( )
virtualdefault

Virtual destructor to allow safe polymorphic destruction.

Member Function Documentation

◆ update()

virtual void ecs::ISystem::update ( Registry )
pure virtual

Pure virtual function executed by all concrete systems.

This function defines the logic a system performs during the update phase.

Parameters
registryReference to the ECS registry.

Implemented in MoveSystem, DisplaySystem, and HealthSystem.


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