4#include <SFML/Graphics/Text.hpp>
22 void handleInput(
const sf::Event::KeyEvent &keyPressed)
override;
33 void update(
double dt)
override;
45 bool animationRender =
true;
PausedState(StateManager &context)
This State determines the Paused menu when pausing the actual Pacman game.
Definition PausedState.cpp:8
void render() override
Renders the PausedState.
Definition PausedState.cpp:75
void update(double dt) override
This is used for UI animations.
Definition PausedState.cpp:64
void handleInput(const sf::Event::KeyEvent &keyPressed) override
Goes back to the LevelState when specific keys are pressed.
Definition PausedState.cpp:25
void resized() override
Will resize the contents of the Paused state.
Definition PausedState.cpp:46
State(StateManager &ctx)
Creates the base State object.
Definition StateManager.cpp:4
StateManager & context
Definition StateManager.h:54
Definition StateManager.h:96