#include <IScene.hpp>
|
| | IScene (ClientCore *clientCore) |
| | IScene, constructor of IScene. More...
|
| |
| virtual | ~IScene ()=default |
| | ~IScene, destructor of IScene More...
|
| |
| virtual void | addComponent (std::shared_ptr< IComponent > component)=0 |
| | addComponent, add a component More...
|
| |
| virtual std::vector< std::shared_ptr< IComponent > > | getComponents ()=0 |
| | getComponents, get all the components More...
|
| |
| virtual void | display (sf::RenderWindow &window)=0 |
| | display, display the scene More...
|
| |
| virtual void | update ()=0 |
| | update, update the scene More...
|
| |
| virtual void | handleEvent (const sf::Event &event, sf::RenderWindow &window)=0 |
| | handleEvent, handle the event More...
|
| |
| virtual void | receiveData ()=0 |
| | receiveData, receive the data 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...
|
| |
Definition at line 17 of file IScene.hpp.
◆ IScene()
◆ ~IScene()
| virtual IScene::~IScene |
( |
| ) |
|
|
virtualdefault |
◆ addComponent()
| virtual void IScene::addComponent |
( |
std::shared_ptr< IComponent > |
component | ) |
|
|
pure virtual |
addComponent, add a component
- Parameters
-
Implemented in AScene.
◆ display()
| virtual void IScene::display |
( |
sf::RenderWindow & |
window | ) |
|
|
pure virtual |
display, display the scene
- Parameters
-
Implemented in AScene.
◆ getComponents()
| virtual std::vector<std::shared_ptr<IComponent> > IScene::getComponents |
( |
| ) |
|
|
pure virtual |
getComponents, get all the components
- Returns
- std::vector<std::shared_ptr<IComponent>>
Implemented in AScene.
◆ handleEvent()
| virtual void IScene::handleEvent |
( |
const sf::Event & |
event, |
|
|
sf::RenderWindow & |
window |
|
) |
| |
|
pure virtual |
◆ pauseScene()
| virtual void IScene::pauseScene |
( |
| ) |
|
|
pure virtual |
pauseScene, pause the scene
Implemented in AScene, and AScene.
◆ receiveData()
| virtual void IScene::receiveData |
( |
| ) |
|
|
pure virtual |
◆ resumeScene()
| virtual void IScene::resumeScene |
( |
| ) |
|
|
pure virtual |
resumeScene, resume the scene
Implemented in AScene, and AScene.
◆ stopScene()
| virtual void IScene::stopScene |
( |
| ) |
|
|
pure virtual |
stopScene, stop the scene
Implemented in AScene, and AScene.
◆ update()
| virtual void IScene::update |
( |
| ) |
|
|
pure virtual |
update, update the scene
Implemented in AScene.
◆ _clientCore
◆ _pingTime
| timeval IScene::_pingTime {} |
|
protected |
◆ continueScene
| bool IScene::continueScene = true |
The documentation for this class was generated from the following file: