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 | |
| FlappyDebugSystem & | operator= (const FlappyDebugSystem &)=delete |
| FlappyDebugSystem (FlappyDebugSystem &&)=delete | |
| FlappyDebugSystem & | operator= (const FlappyDebugSystem &&)=delete |
| void | update (ecs::Registry ®istry, 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 |
Class for FlappyBird debug system that excludes pipes from circle hitbox display.
Definition at line 23 of file FlappyDebugSystem.hpp.
|
inlineexplicit |
Definition at line 26 of file FlappyDebugSystem.hpp.
|
overridedefault |
|
delete |
|
delete |
|
delete |
|
delete |
|
inlineoverridevirtual |
Implements ecs::ISystem.
Definition at line 38 of file FlappyDebugSystem.hpp.
References eng::IRenderer::drawCircleShape(), ecs::Registry::getAll(), ecs::Registry::getComponent(), ecs::Registry::hasComponent(), m_renderer, m_showDebug, eng::IRenderer::setCircleShapePosition(), and ecs::Transform::y.
Here is the call graph for this function:
|
private |
Definition at line 85 of file FlappyDebugSystem.hpp.
Referenced by update().
|
private |
Definition at line 86 of file FlappyDebugSystem.hpp.
Referenced by update().