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

Class for the RTypeClientSolo plugin. More...

#include <RTypeClientSolo.hpp>

+ Inheritance diagram for gme::RTypeClientSolo:
+ Collaboration diagram for gme::RTypeClientSolo:

Public Member Functions

 RTypeClientSolo ()=default
 
 ~RTypeClientSolo () override=default
 
 RTypeClientSolo (const RTypeClientSolo &)=delete
 
RTypeClientSolooperator= (const RTypeClientSolo &)=delete
 
 RTypeClientSolo (RTypeClientSolo &&)=delete
 
RTypeClientSolooperator= (RTypeClientSolo &&)=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
 

Detailed Description

Class for the RTypeClientSolo plugin.

Definition at line 19 of file RTypeClientSolo.hpp.

Constructor & Destructor Documentation

◆ RTypeClientSolo() [1/3]

gme::RTypeClientSolo::RTypeClientSolo ( )
default

◆ ~RTypeClientSolo()

gme::RTypeClientSolo::~RTypeClientSolo ( )
overridedefault

◆ RTypeClientSolo() [2/3]

gme::RTypeClientSolo::RTypeClientSolo ( const RTypeClientSolo & )
delete

◆ RTypeClientSolo() [3/3]

gme::RTypeClientSolo::RTypeClientSolo ( RTypeClientSolo && )
delete

Member Function Documentation

◆ getMainSceneId()

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

Implements gme::IGameClient.

Definition at line 43 of file RTypeClientSolo.hpp.

References m_mainSceneId.

◆ getName()

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

Implements utl::IPlugin.

Definition at line 31 of file RTypeClientSolo.hpp.

◆ getType()

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

Implements utl::IPlugin.

Definition at line 32 of file RTypeClientSolo.hpp.

References utl::GAME_CLIENT.

◆ init()

void gme::RTypeClientSolo::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 RTypeClientSolo.hpp.

References m_appConfig, m_engine, and setupScenes().

+ Here is the call graph for this function:

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ setupScenes()

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

Definition at line 6 of file rtypeClientSolo.cpp.

References utl::cli::AppConfig::audioVolume, eng::Engine::getAudio(), eng::Engine::getRenderer(), eng::Engine::getSceneManager(), m_appConfig, m_engine, m_mainSceneId, and utl::cli::AppConfig::skinIndex.

Referenced by init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update()

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

Implements gme::IGameClient.

Definition at line 59 of file rtypeClientSolo.cpp.

Member Data Documentation

◆ m_appConfig

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

Definition at line 47 of file RTypeClientSolo.hpp.

Referenced by init(), and setupScenes().

◆ m_engine

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

Definition at line 46 of file RTypeClientSolo.hpp.

Referenced by init(), and setupScenes().

◆ m_mainSceneId

eng::id gme::RTypeClientSolo::m_mainSceneId
private

Definition at line 48 of file RTypeClientSolo.hpp.

Referenced by getMainSceneId(), and setupScenes().


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