#include <VictoryState.h>
|
| | VictoryState (StateManager &context) |
| | This State determines the Victory menu at the end of a single Pacman level.
|
| void | handleInput (const sf::Event::KeyEvent &keyPressed) override |
| | Will load the next level regardless of what key was pressed.
|
| void | resized () override |
| | Will resize the contents of the Victory state.
|
| void | update (double dt) override |
| | This is used for UI animations.
|
| void | render () override |
| | Renders the Victory State.
|
| virtual | ~State ()=default |
◆ VictoryState()
This State determines the Victory menu at the end of a single Pacman level.
- Parameters
-
◆ handleInput()
| void VictoryState::handleInput |
( |
const sf::Event::KeyEvent & | keyPressed | ) |
|
|
overridevirtual |
Will load the next level regardless of what key was pressed.
- Parameters
-
| keyPressed | KeyPressed event |
Implements State.
◆ render()
| void VictoryState::render |
( |
| ) |
|
|
overridevirtual |
◆ resized()
| void VictoryState::resized |
( |
| ) |
|
|
overridevirtual |
Will resize the contents of the Victory state.
Implements State.
◆ update()
| void VictoryState::update |
( |
double | dt | ) |
|
|
overridevirtual |
This is used for UI animations.
- Parameters
-
Implements State.
The documentation for this class was generated from the following files: