ecs
Entity-Component-System
Loading...
Searching...
No Matches
ecs::ISystem Class Referenceabstract

#include <System.hpp>

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.
 

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.

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