4#include <SFML/Graphics/Text.hpp>
22 void handleInput(
const sf::Event::KeyEvent &keyPressed)
override;
33 void update(
double dt)
override;
45 bool renderCta =
true;
GameOverState(StateManager &context)
This State determines the GameOver menu when the Player has lost all their lives.
Definition GameOverState.cpp:7
void handleInput(const sf::Event::KeyEvent &keyPressed) override
Will return to the Menu when a specific key is pressed.
Definition GameOverState.cpp:32
void resized() override
Will resize the contents of the GameOver state.
Definition GameOverState.cpp:43
void render() override
Renders the GameOver State.
Definition GameOverState.cpp:74
void update(double dt) override
Update the GameOverState, is used for UI animations.
Definition GameOverState.cpp:62
State(StateManager &ctx)
Creates the base State object.
Definition StateManager.cpp:4
StateManager & context
Definition StateManager.h:54
Definition StateManager.h:96