#include <PausedState.h>
◆ PausedState()
This State determines the Paused menu when pausing the actual Pacman game.
- Parameters
-
◆ handleInput()
| void PausedState::handleInput |
( |
const sf::Event::KeyEvent & | keyPressed | ) |
|
|
overridevirtual |
Goes back to the LevelState when specific keys are pressed.
- Parameters
-
| keyPressed | KeyPressed event |
Implements State.
◆ render()
| void PausedState::render |
( |
| ) |
|
|
overridevirtual |
◆ resized()
| void PausedState::resized |
( |
| ) |
|
|
overridevirtual |
Will resize the contents of the Paused state.
Implements State.
◆ update()
| void PausedState::update |
( |
double | dt | ) |
|
|
overridevirtual |
This is used for UI animations.
- Parameters
-
Implements State.
The documentation for this class was generated from the following files: