r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
gme::AGameClient Class Reference

Abstraction for the games. More...

#include <AGameClient.hpp>

+ Inheritance diagram for gme::AGameClient:
+ Collaboration diagram for gme::AGameClient:

Public Member Functions

 ~AGameClient () override=default
 
std::string & getName () override
 
void setName (const std::string &newName) override
 
- Public Member Functions inherited from gme::IGameClient
virtual ~IGameClient ()=default
 
virtual void update (float deltaTime, unsigned int width, unsigned int height)=0
 
virtual const IScenegetCurrentScene () const =0
 

Private Attributes

std::string m_name = "default_name"
 

Detailed Description

Abstraction for the games.

Definition at line 19 of file AGameClient.hpp.

Constructor & Destructor Documentation

◆ ~AGameClient()

gme::AGameClient::~AGameClient ( )
overridedefault

Member Function Documentation

◆ getName()

std::string & gme::AGameClient::getName ( )
inlinenodiscardoverridevirtual

Implements gme::IGameClient.

Definition at line 24 of file AGameClient.hpp.

References m_name.

◆ setName()

void gme::AGameClient::setName ( const std::string & newName)
inlineoverridevirtual

Implements gme::IGameClient.

Definition at line 25 of file AGameClient.hpp.

References m_name.

Member Data Documentation

◆ m_name

std::string gme::AGameClient::m_name = "default_name"
private

Definition at line 28 of file AGameClient.hpp.

Referenced by getName(), and setName().


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