#include <IScene.hpp>
|
| virtual | ~ISceneRType ()=default |
| | Construct a new IScene:: IScene object. More...
|
| |
| virtual void | display ()=0 |
| | display, display the scene More...
|
| |
| virtual void | update (std::shared_ptr< Event > event, std::shared_ptr< Packet > packet)=0 |
| | update, update the scene More...
|
| |
| virtual void | pauseScene ()=0 |
| | pauseScene, pause the scene More...
|
| |
| virtual void | resumeScene ()=0 |
| | resumeScene, resume the scene More...
|
| |
| virtual void | stopScene ()=0 |
| | stopScene, stop the scene More...
|
| |
| virtual void | restartScene ()=0 |
| | restartScene, restart the scene More...
|
| |
| virtual void | addEntity (std::shared_ptr< IEntity > entity)=0 |
| | addEntity, add an entity More...
|
| |
| virtual std::vector< std::shared_ptr< IEntity > > | getEntities ()=0 |
| | getEntities, get the entities More...
|
| |
| virtual void | addService (std::shared_ptr< IService > service)=0 |
| | addService, add a service More...
|
| |
| virtual std::vector< std::shared_ptr< IService > > | getServices ()=0 |
| | getServices, get the services More...
|
| |
| virtual void | sendGameState (int clientId)=0 |
| | sendGameState, send the game state to a client More...
|
| |
| virtual void | broadcastGameState ()=0 |
| | broadcastGameState, broadcast the game state More...
|
| |
| virtual void | initEntities ()=0 |
| | initEntities, init the entities More...
|
| |
| virtual void | initServices ()=0 |
| | initServices, init the services More...
|
| |
Definition at line 20 of file IScene.hpp.
◆ ~ISceneRType()
| virtual ISceneRType::~ISceneRType |
( |
| ) |
|
|
virtualdefault |
◆ addEntity()
| virtual void ISceneRType::addEntity |
( |
std::shared_ptr< IEntity > |
entity | ) |
|
|
pure virtual |
addEntity, add an entity
- Parameters
-
Implemented in AScene.
◆ addService()
| virtual void ISceneRType::addService |
( |
std::shared_ptr< IService > |
service | ) |
|
|
pure virtual |
addService, add a service
- Parameters
-
Implemented in AScene.
◆ broadcastGameState()
| virtual void ISceneRType::broadcastGameState |
( |
| ) |
|
|
pure virtual |
broadcastGameState, broadcast the game state
Implemented in AScene.
◆ display()
| virtual void ISceneRType::display |
( |
| ) |
|
|
pure virtual |
display, display the scene
Implemented in AScene.
◆ getEntities()
| virtual std::vector<std::shared_ptr<IEntity> > ISceneRType::getEntities |
( |
| ) |
|
|
pure virtual |
getEntities, get the entities
- Returns
- entities (std::vector<std::shared_ptr<IEntity>>)
Implemented in AScene.
◆ getServices()
| virtual std::vector<std::shared_ptr<IService> > ISceneRType::getServices |
( |
| ) |
|
|
pure virtual |
getServices, get the services
- Returns
- services (std::vector<std::shared_ptr<IService>>)
Implemented in AScene.
◆ initEntities()
| virtual void ISceneRType::initEntities |
( |
| ) |
|
|
pure virtual |
◆ initServices()
| virtual void ISceneRType::initServices |
( |
| ) |
|
|
pure virtual |
◆ pauseScene()
| virtual void ISceneRType::pauseScene |
( |
| ) |
|
|
pure virtual |
pauseScene, pause the scene
Implemented in AScene, and AScene.
◆ restartScene()
| virtual void ISceneRType::restartScene |
( |
| ) |
|
|
pure virtual |
restartScene, restart the scene
Implemented in AScene.
◆ resumeScene()
| virtual void ISceneRType::resumeScene |
( |
| ) |
|
|
pure virtual |
resumeScene, resume the scene
Implemented in AScene, and AScene.
◆ sendGameState()
| virtual void ISceneRType::sendGameState |
( |
int |
clientId | ) |
|
|
pure virtual |
sendGameState, send the game state to a client
- Parameters
-
Implemented in AScene.
◆ stopScene()
| virtual void ISceneRType::stopScene |
( |
| ) |
|
|
pure virtual |
stopScene, stop the scene
Implemented in AScene, and AScene.
◆ update()
| virtual void ISceneRType::update |
( |
std::shared_ptr< Event > |
event, |
|
|
std::shared_ptr< Packet > |
packet |
|
) |
| |
|
pure virtual |
update, update the scene
- Parameters
-
Implemented in LobbyScene.
◆ _entities
| std::vector<std::shared_ptr<IEntity> > ISceneRType::_entities |
|
protected |
◆ _serverSocket
◆ _services
| std::vector<std::shared_ptr<IService> > ISceneRType::_services |
|
protected |
The documentation for this class was generated from the following file: