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

#include <Explosion.hpp>

+ Inheritance diagram for gme::ExplosionSystem:
+ Collaboration diagram for gme::ExplosionSystem:

Public Member Functions

 ExplosionSystem (const std::shared_ptr< 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
 
 ExplosionSystem (const std::shared_ptr< 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 ecs::ISystem
virtual ~ISystem ()=default
 

Static Private Member Functions

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

Private Attributes

const std::shared_ptr< eng::IRenderer > & m_renderer
 

Detailed Description

Definition at line 19 of file Explosion.hpp.

Constructor & Destructor Documentation

◆ ExplosionSystem() [1/6]

gme::ExplosionSystem::ExplosionSystem ( const std::shared_ptr< eng::IRenderer > & renderer)
inlineexplicit

Definition at line 22 of file Explosion.hpp.

◆ ~ExplosionSystem() [1/2]

gme::ExplosionSystem::~ExplosionSystem ( )
overridedefault

◆ ExplosionSystem() [2/6]

gme::ExplosionSystem::ExplosionSystem ( const ExplosionSystem & )
delete

◆ ExplosionSystem() [3/6]

gme::ExplosionSystem::ExplosionSystem ( ExplosionSystem && )
delete

◆ ExplosionSystem() [4/6]

gme::ExplosionSystem::ExplosionSystem ( const std::shared_ptr< eng::IRenderer > & renderer)
inlineexplicit

Definition at line 22 of file Explosion.hpp.

◆ ~ExplosionSystem() [2/2]

gme::ExplosionSystem::~ExplosionSystem ( )
overridedefault

◆ ExplosionSystem() [5/6]

gme::ExplosionSystem::ExplosionSystem ( const ExplosionSystem & )
delete

◆ ExplosionSystem() [6/6]

gme::ExplosionSystem::ExplosionSystem ( ExplosionSystem && )
delete

Member Function Documentation

◆ isEnable() [1/2]

bool gme::ExplosionSystem::isEnable ( )
inlineoverridevirtual

Reimplemented from ecs::ASystem.

Definition at line 30 of file Explosion.hpp.

◆ isEnable() [2/2]

bool gme::ExplosionSystem::isEnable ( )
inlineoverridevirtual

Reimplemented from ecs::ASystem.

Definition at line 30 of file Explosion.hpp.

◆ operator=() [1/4]

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

◆ operator=() [2/4]

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

◆ operator=() [3/4]

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

◆ operator=() [4/4]

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

◆ removeExplosion() [1/2]

static void gme::ExplosionSystem::removeExplosion ( ecs::Registry & registry,
const ecs::Entity entity )
inlinestaticprivate

Definition at line 85 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:

◆ removeExplosion() [2/2]

static void gme::ExplosionSystem::removeExplosion ( ecs::Registry & registry,
const ecs::Entity entity )
inlinestaticprivate

Definition at line 85 of file Explosion.hpp.

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

+ Here is the call graph for this function:

◆ setEnable() [1/2]

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

Reimplemented from ecs::ASystem.

Definition at line 31 of file Explosion.hpp.

◆ setEnable() [2/2]

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

Reimplemented from ecs::ASystem.

Definition at line 31 of file Explosion.hpp.

◆ update() [1/2]

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

◆ update() [2/2]

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

Member Data Documentation

◆ m_renderer

const std::shared_ptr< eng::IRenderer > & gme::ExplosionSystem::m_renderer
private

Definition at line 83 of file Explosion.hpp.

Referenced by update().


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