The state for the initial menu screen.
More...
#include <GStateGameOver.h>
The state for the initial menu screen.
Game state that will contain the game over screen.
| GStateGameOver::GStateGameOver |
( |
) | |
|
The constructor.
Initializes all the attributes.
| void GStateGameOver::load |
( |
) | |
|
|
virtual |
Loads the level.
From the menu.lua script, loads all the necessary objects.
Implements StateGame.
| void GStateGameOver::render |
( |
) | |
|
|
virtual |
| void GStateGameOver::unload |
( |
) | |
|
|
virtual |
| void GStateGameOver::update |
( |
const double |
dt_) | |
|
|
virtual |
Updates the objects within the StateGame.
- Parameters
-
| dt_ | : Delta time. Time elapsed between one frame and the other. |
Implements StateGame.
| Sprite* GStateGameOver::gameOverImage |
|
private |
The image shown on the menu.
| double GStateGameOver::lifeTime |
|
private |
The amount of time the menu will be shown.
| double GStateGameOver::passedTime |
|
private |
The time already elapsed since the beggining of the menu.
The documentation for this class was generated from the following files:
- /home/caio/Git/Dauphine/include/GStateGameOver.h
- /home/caio/Git/Dauphine/src/GStateGameOver.cpp