Creates a Lose State. Creates a Lose State that inherits State.
More...
#include <lose.h>
Creates a Lose State. Creates a Lose State that inherits State.
Definition at line 14 of file lose.h.
void Lose::displayScore |
( |
| ) |
|
|
private |
Draws the score to the screen
void Lose::drawSprites |
( |
| ) |
|
|
virtual |
A function for displaying the Sprite objects which do not use alpha.
Implements State.
void Lose::drawSpritesWithAlpha |
( |
| ) |
|
|
virtual |
A function for displaying the Sprite objects which do use alpha.
Implements State.
void Lose::update |
( |
float |
, |
|
|
float |
, |
|
|
float |
|
|
) |
| |
|
virtual |
A function for updating the Lose State
- Parameters
-
float | the delta time |
float | the x touch location |
float | the y touch location |
- Returns
- int the next command the application should do
Implements State.
The buttons
Definition at line 21 of file lose.h.
boolean for if a button is pressed
Definition at line 27 of file lose.h.
the last score
Definition at line 31 of file lose.h.
The documentation for this class was generated from the following file: