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

Class for the FlappyBirdClientSolo plugin. More...

#include <FlappyBirdClientSolo.hpp>

+ Inheritance diagram for gme::FlappyBirdClientSolo:
+ Collaboration diagram for gme::FlappyBirdClientSolo:

Public Member Functions

 FlappyBirdClientSolo ()=default
 
 ~FlappyBirdClientSolo () override=default
 
 FlappyBirdClientSolo (const FlappyBirdClientSolo &)=delete
 
FlappyBirdClientSolooperator= (const FlappyBirdClientSolo &)=delete
 
 FlappyBirdClientSolo (FlappyBirdClientSolo &&)=delete
 
FlappyBirdClientSolooperator= (FlappyBirdClientSolo &&)=delete
 
const std::string getName () const override
 
utl::PluginType getType () const override
 
void update (float deltaTime, unsigned int width, unsigned int height) override
 
void init (eng::Engine &engine, utl::cli::AppConfig &appConfig, bool &showDebug, const eng::id menuSceneId, const eng::id winSceneId) override
 
unsigned int getMainSceneId () const override
 
- Public Member Functions inherited from utl::IPlugin
virtual ~IPlugin ()=default
 

Private Member Functions

void setupScenes (bool &showDebug, eng::id menuSceneId)
 

Private Attributes

eng::Enginem_engine = nullptr
 
utl::cli::AppConfigm_appConfig = nullptr
 
eng::id m_mainSceneId
 
bool * m_showDebug = nullptr
 

Detailed Description

Class for the FlappyBirdClientSolo plugin.

Definition at line 19 of file FlappyBirdClientSolo.hpp.

Constructor & Destructor Documentation

◆ FlappyBirdClientSolo() [1/3]

gme::FlappyBirdClientSolo::FlappyBirdClientSolo ( )
default

◆ ~FlappyBirdClientSolo()

gme::FlappyBirdClientSolo::~FlappyBirdClientSolo ( )
overridedefault

◆ FlappyBirdClientSolo() [2/3]

gme::FlappyBirdClientSolo::FlappyBirdClientSolo ( const FlappyBirdClientSolo & )
delete

◆ FlappyBirdClientSolo() [3/3]

gme::FlappyBirdClientSolo::FlappyBirdClientSolo ( FlappyBirdClientSolo && )
delete

Member Function Documentation

◆ getMainSceneId()

unsigned int gme::FlappyBirdClientSolo::getMainSceneId ( ) const
inlinenodiscardoverridevirtual

Implements gme::IGameClient.

Definition at line 44 of file FlappyBirdClientSolo.hpp.

References m_mainSceneId.

◆ getName()

const std::string gme::FlappyBirdClientSolo::getName ( ) const
inlinenodiscardoverridevirtual

Implements utl::IPlugin.

Definition at line 31 of file FlappyBirdClientSolo.hpp.

◆ getType()

utl::PluginType gme::FlappyBirdClientSolo::getType ( ) const
inlinenodiscardoverridevirtual

Implements utl::IPlugin.

Definition at line 32 of file FlappyBirdClientSolo.hpp.

References utl::GAME_CLIENT.

◆ init()

void gme::FlappyBirdClientSolo::init ( eng::Engine & engine,
utl::cli::AppConfig & appConfig,
bool & showDebug,
const eng::id menuSceneId,
const eng::id winSceneId )
inlineoverridevirtual

Implements gme::IGameClient.

Definition at line 35 of file FlappyBirdClientSolo.hpp.

References m_appConfig, m_engine, m_showDebug, and setupScenes().

+ Here is the call graph for this function:

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ setupScenes()

void gme::FlappyBirdClientSolo::setupScenes ( bool & showDebug,
eng::id menuSceneId )
private

Definition at line 9 of file flappyBirdClientSolo.cpp.

Referenced by init().

+ Here is the caller graph for this function:

◆ update()

void gme::FlappyBirdClientSolo::update ( float deltaTime,
unsigned int width,
unsigned int height )
overridevirtual

Implements gme::IGameClient.

Definition at line 7 of file flappyBirdClientSolo.cpp.

Member Data Documentation

◆ m_appConfig

utl::cli::AppConfig* gme::FlappyBirdClientSolo::m_appConfig = nullptr
private

Definition at line 48 of file FlappyBirdClientSolo.hpp.

Referenced by init().

◆ m_engine

eng::Engine* gme::FlappyBirdClientSolo::m_engine = nullptr
private

Definition at line 47 of file FlappyBirdClientSolo.hpp.

Referenced by init().

◆ m_mainSceneId

eng::id gme::FlappyBirdClientSolo::m_mainSceneId
private

Definition at line 49 of file FlappyBirdClientSolo.hpp.

Referenced by getMainSceneId().

◆ m_showDebug

bool* gme::FlappyBirdClientSolo::m_showDebug = nullptr
private

Definition at line 50 of file FlappyBirdClientSolo.hpp.

Referenced by init().


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