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

#include <Projectile.hpp>

+ Inheritance diagram for gme::ProjectileSystem:
+ Collaboration diagram for gme::ProjectileSystem:

Public Member Functions

 ProjectileSystem (const std::shared_ptr< eng::IRenderer > &)
 
 ~ProjectileSystem () override=default
 
 ProjectileSystem (const ProjectileSystem &)=delete
 
ProjectileSystemoperator= (const ProjectileSystem &)=delete
 
 ProjectileSystem (ProjectileSystem &&)=delete
 
ProjectileSystemoperator= (ProjectileSystem &&)=delete
 
void update (ecs::Registry &registry, float dt) override
 
 ProjectileSystem (const std::shared_ptr< eng::IRenderer > &)
 
 ~ProjectileSystem () override=default
 
 ProjectileSystem (const ProjectileSystem &)=delete
 
ProjectileSystemoperator= (const ProjectileSystem &)=delete
 
 ProjectileSystem (ProjectileSystem &&)=delete
 
ProjectileSystemoperator= (ProjectileSystem &&)=delete
 
void update (ecs::Registry &registry, float dt) override
 
- Public Member Functions inherited from ecs::ASystem
bool isEnable () override
 
void setEnable (const bool enable) override
 
- Public Member Functions inherited from ecs::ISystem
virtual ~ISystem ()=default
 

Detailed Description

Definition at line 19 of file Projectile.hpp.

Constructor & Destructor Documentation

◆ ProjectileSystem() [1/6]

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

Definition at line 19 of file Projectile.hpp.

◆ ~ProjectileSystem() [1/2]

gme::ProjectileSystem::~ProjectileSystem ( )
overridedefault

◆ ProjectileSystem() [2/6]

gme::ProjectileSystem::ProjectileSystem ( const ProjectileSystem & )
delete

◆ ProjectileSystem() [3/6]

gme::ProjectileSystem::ProjectileSystem ( ProjectileSystem && )
delete

◆ ProjectileSystem() [4/6]

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

Definition at line 22 of file Projectile.hpp.

◆ ~ProjectileSystem() [2/2]

gme::ProjectileSystem::~ProjectileSystem ( )
overridedefault

◆ ProjectileSystem() [5/6]

gme::ProjectileSystem::ProjectileSystem ( const ProjectileSystem & )
delete

◆ ProjectileSystem() [6/6]

gme::ProjectileSystem::ProjectileSystem ( ProjectileSystem && )
delete

Member Function Documentation

◆ operator=() [1/4]

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

◆ operator=() [2/4]

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

◆ operator=() [3/4]

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

◆ operator=() [4/4]

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

◆ update() [1/2]

void gme::ProjectileSystem::update ( ecs::Registry & registry,
float dt )
overridevirtual

Implements ecs::ISystem.

Definition at line 4 of file projectile.cpp.

References ecs::Registry::getAll(), ecs::Registry::getComponent(), ecs::Registry::hasComponent(), ecs::Registry::removeComponent(), and ecs::Transform::x.

+ Here is the call graph for this function:

◆ update() [2/2]

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

Implements ecs::ISystem.

Definition at line 30 of file Projectile.hpp.

References ecs::Registry::getAll(), ecs::Registry::getComponent(), ecs::Registry::hasComponent(), ecs::Registry::removeComponent(), and ecs::Transform::x.

+ Here is the call graph for this function:

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