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

Class for FlappyBird debug system that excludes pipes from circle hitbox display. More...

#include <FlappyDebugSystem.hpp>

+ Inheritance diagram for gme::FlappyDebugSystem:
+ Collaboration diagram for gme::FlappyDebugSystem:

Public Member Functions

 FlappyDebugSystem (const std::shared_ptr< eng::IRenderer > &renderer, bool &showDebug)
 
 ~FlappyDebugSystem () override=default
 
 FlappyDebugSystem (const FlappyDebugSystem &)=delete
 
FlappyDebugSystemoperator= (const FlappyDebugSystem &)=delete
 
 FlappyDebugSystem (FlappyDebugSystem &&)=delete
 
FlappyDebugSystemoperator= (const FlappyDebugSystem &&)=delete
 
void update (ecs::Registry &registry, float) 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
 

Private Attributes

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

Detailed Description

Class for FlappyBird debug system that excludes pipes from circle hitbox display.

Definition at line 23 of file FlappyDebugSystem.hpp.

Constructor & Destructor Documentation

◆ FlappyDebugSystem() [1/3]

gme::FlappyDebugSystem::FlappyDebugSystem ( const std::shared_ptr< eng::IRenderer > & renderer,
bool & showDebug )
inlineexplicit

Definition at line 26 of file FlappyDebugSystem.hpp.

◆ ~FlappyDebugSystem()

gme::FlappyDebugSystem::~FlappyDebugSystem ( )
overridedefault

◆ FlappyDebugSystem() [2/3]

gme::FlappyDebugSystem::FlappyDebugSystem ( const FlappyDebugSystem & )
delete

◆ FlappyDebugSystem() [3/3]

gme::FlappyDebugSystem::FlappyDebugSystem ( FlappyDebugSystem && )
delete

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ update()

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

Member Data Documentation

◆ m_renderer

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

Definition at line 85 of file FlappyDebugSystem.hpp.

Referenced by update().

◆ m_showDebug

bool& gme::FlappyDebugSystem::m_showDebug
private

Definition at line 86 of file FlappyDebugSystem.hpp.

Referenced by update().


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