r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
cli::ExplosionSystem Class Referencefinal

#include <Explosion.hpp>

+ Inheritance diagram for cli::ExplosionSystem:
+ Collaboration diagram for cli::ExplosionSystem:

Public Member Functions

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

Private Member Functions

void removeExplosion (ecs::Registry &registry, ecs::Entity entity)
 

Private Attributes

eng::IRendererm_renderer
 

Detailed Description

Definition at line 18 of file Explosion.hpp.

Constructor & Destructor Documentation

◆ ExplosionSystem() [1/3]

cli::ExplosionSystem::ExplosionSystem ( eng::IRenderer & renderer)
inlineexplicit

Definition at line 21 of file Explosion.hpp.

◆ ~ExplosionSystem()

cli::ExplosionSystem::~ExplosionSystem ( )
overridedefault

◆ ExplosionSystem() [2/3]

cli::ExplosionSystem::ExplosionSystem ( const ExplosionSystem & )
delete

◆ ExplosionSystem() [3/3]

cli::ExplosionSystem::ExplosionSystem ( ExplosionSystem && )
delete

Member Function Documentation

◆ isEnable()

bool cli::ExplosionSystem::isEnable ( )
inlineoverridevirtual

Implements eng::ISystem.

Definition at line 29 of file Explosion.hpp.

◆ operator=() [1/2]

ExplosionSystem & cli::ExplosionSystem::operator= ( const ExplosionSystem & )
delete

◆ operator=() [2/2]

ExplosionSystem & cli::ExplosionSystem::operator= ( ExplosionSystem && )
delete

◆ removeExplosion()

void cli::ExplosionSystem::removeExplosion ( ecs::Registry & registry,
ecs::Entity entity )
inlineprivate

Definition at line 83 of file Explosion.hpp.

References ecs::Registry::hasComponent(), and ecs::Registry::removeComponent().

Referenced by update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setEnable()

void cli::ExplosionSystem::setEnable ( bool enable)
inlineoverridevirtual

Implements eng::ISystem.

Definition at line 30 of file Explosion.hpp.

◆ update()

void cli::ExplosionSystem::update ( ecs::Registry & registry,
float dt )
inlineoverridevirtual

Member Data Documentation

◆ m_renderer

eng::IRenderer& cli::ExplosionSystem::m_renderer
private

Definition at line 81 of file Explosion.hpp.

Referenced by update().


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