Untitled Game engine no.5  1.0
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Engine::SystemBase Class Referenceabstract
Inheritance diagram for Engine::SystemBase:
Inheritance graph
[legend]

Public Member Functions

virtual ~SystemBase ()
 Destructor.
 
virtual Archetype GetArch () const
 
virtual SystemID GetID () const
 

Protected Member Functions

virtual void Run (EntityID id)=0
 

Protected Attributes

SystemID m_id
 Id to the lookup table.
 
Archetype m_arch
 archetype storage
 

Friends

class ECS
 

Member Function Documentation

◆ GetArch()

virtual Archetype Engine::SystemBase::GetArch ( ) const
inlinevirtual
Returns
archetype of this system

◆ GetID()

virtual SystemID Engine::SystemBase::GetID ( ) const
inlinevirtual
Returns
the id of this system

◆ Run()

virtual void Engine::SystemBase::Run ( EntityID  id)
protectedpure virtual

Run this system

Parameters
idthe entity to run this system on

Implemented in Engine::System< Cs >.


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