r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
ecs::ASystem Class Reference

Abstract class for system. More...

#include <ISystems.hpp>

+ Inheritance diagram for ecs::ASystem:
+ Collaboration diagram for ecs::ASystem:

Public Member Functions

bool isEnable () override
 
void setEnable (const bool enable) override
 
- Public Member Functions inherited from ecs::ISystem
virtual ~ISystem ()=default
 
virtual void update (Registry &registry, float dt)=0
 

Private Attributes

bool m_isEnable = true
 

Detailed Description

Abstract class for system.

Definition at line 33 of file ISystems.hpp.

Member Function Documentation

◆ isEnable()

bool ecs::ASystem::isEnable ( )
inlineoverridevirtual

◆ setEnable()

void ecs::ASystem::setEnable ( const bool enable)
inlineoverridevirtual

Member Data Documentation

◆ m_isEnable

bool ecs::ASystem::m_isEnable = true
private

Definition at line 40 of file ISystems.hpp.

Referenced by isEnable(), and setEnable().


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