Creates an Menu object Creates an Menu object which inherits State.
More...
#include <menu.h>
Creates an Menu object Creates an Menu object which inherits State.
Definition at line 16 of file menu.h.
Constructs a Menu object
- Parameters
-
A destructor for the Menu object
void Menu::drawSprites |
( |
| ) |
|
|
virtual |
A function for displaying the Sprite objects which do not use alpha.
Implements State.
void Menu::drawSpritesWithAlpha |
( |
| ) |
|
|
virtual |
A function for displaying the Sprite objects which do use alpha.
Implements State.
void Menu::update |
( |
float |
, |
|
|
float |
, |
|
|
float |
|
|
) |
| |
|
virtual |
A function for updating the Menu object
- Parameters
-
float | the delta time |
float | the x touch location |
float | the y touch location |
Implements State.
std::vector<Entity *> Menu::buttons |
|
private |
The buttons
Definition at line 22 of file menu.h.
boolean for if a button is pressed
Definition at line 24 of file menu.h.
The documentation for this class was generated from the following file: