r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
gme::IGameClient Class Referenceabstract

Interface for the games. More...

#include <IGameClient.hpp>

+ Inheritance diagram for gme::IGameClient:
+ Collaboration diagram for gme::IGameClient:

Public Member Functions

virtual ~IGameClient ()=default
 
virtual std::string & getName ()=0
 
virtual void setName (const std::string &newName)=0
 
virtual void update (float deltaTime, unsigned int width, unsigned int height)=0
 
virtual const IScenegetCurrentScene () const =0
 

Detailed Description

Interface for the games.

Definition at line 48 of file IGameClient.hpp.

Constructor & Destructor Documentation

◆ ~IGameClient()

virtual gme::IGameClient::~IGameClient ( )
virtualdefault

Member Function Documentation

◆ getCurrentScene()

virtual const IScene & gme::IGameClient::getCurrentScene ( ) const
nodiscardpure virtual

◆ getName()

virtual std::string & gme::IGameClient::getName ( )
nodiscardpure virtual

Implemented in gme::AGameClient.

◆ setName()

virtual void gme::IGameClient::setName ( const std::string & newName)
pure virtual

Implemented in gme::AGameClient.

◆ update()

virtual void gme::IGameClient::update ( float deltaTime,
unsigned int width,
unsigned int height )
pure virtual

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