#include <GameOverState.h>
|
| | GameOverState (StateManager &context) |
| | This State determines the GameOver menu when the Player has lost all their lives.
|
| void | handleInput (const sf::Event::KeyEvent &keyPressed) override |
| | Will return to the Menu when a specific key is pressed.
|
| void | resized () override |
| | Will resize the contents of the GameOver state.
|
| void | update (double dt) override |
| | Update the GameOverState, is used for UI animations.
|
| void | render () override |
| | Renders the GameOver State.
|
| virtual | ~State ()=default |
◆ GameOverState()
This State determines the GameOver menu when the Player has lost all their lives.
- Parameters
-
◆ handleInput()
| void GameOverState::handleInput |
( |
const sf::Event::KeyEvent & | keyPressed | ) |
|
|
overridevirtual |
Will return to the Menu when a specific key is pressed.
- Parameters
-
| keyPressed | KeyPressed event |
Implements State.
◆ render()
| void GameOverState::render |
( |
| ) |
|
|
overridevirtual |
◆ resized()
| void GameOverState::resized |
( |
| ) |
|
|
overridevirtual |
Will resize the contents of the GameOver state.
Implements State.
◆ update()
| void GameOverState::update |
( |
double | dt | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: