#include <StateManager.h>
|
| virtual void | handleInput (const sf::Event::KeyEvent &keyPressed)=0 |
| | Handler for KeyPressed events.
|
| virtual void | resized ()=0 |
| | Called when the window is resized.
|
| virtual void | update (double dt)=0 |
| virtual void | render ()=0 |
| | Render function that is called in the main Game loop.
|
| virtual | ~State ()=default |
◆ ~State()
| virtual State::~State |
( |
| ) |
|
|
virtualdefault |
◆ State()
Creates the base State object.
State is a Base class and not supposed to be used separately.
- Parameters
-
◆ handleInput()
| virtual void State::handleInput |
( |
const sf::Event::KeyEvent & | keyPressed | ) |
|
|
pure virtual |
◆ render()
| virtual void State::render |
( |
| ) |
|
|
pure virtual |
◆ resized()
| virtual void State::resized |
( |
| ) |
|
|
pure virtual |
◆ update()
| virtual void State::update |
( |
double | dt | ) |
|
|
pure virtual |
◆ context
The documentation for this class was generated from the following files: