Creates a Help object that inherits JAM_State. Creates a Help object that inherits JAM_State and runs the Help.
More...
#include <Help.h>
Creates a Help object that inherits JAM_State. Creates a Help object that inherits JAM_State and runs the Help.
- Author
- Jamie Slowgrove
Help::Help |
( |
JAM_StateManager * |
stateManager, |
|
|
SDL_Renderer * |
renderer, |
|
|
int |
screenWidth, |
|
|
int |
screenHeight, |
|
|
JAM_Audio * |
music |
|
) |
| |
Constructs the Help object.
- Parameters
-
stateManager | A pointer to the StateManager. |
renderer | A pointer to the renderer. |
screenWidth | The screen width. |
screenHeight | The screen height. |
music | A pointer to the music. |
Destructs the Help object.
bool Help::androidInput |
( |
SDL_Event & |
incomingEvent | ) |
|
|
private |
Handles the Android Game input.
- Parameters
-
incomingEvent | A reference to the incoming SDL event. |
- Returns
- If false then quit the Game State.
A function to draw to the screen.
Implements JAM_State.
Handles the Help input.
- Returns
- If false the quit the Help State.
Implements JAM_State.
void Help::update |
( |
float |
deltaTime | ) |
|
|
virtual |
A function to update the Help to allow the Help to run.
- Parameters
-
Implements JAM_State.
bool Help::windowsInput |
( |
SDL_Event & |
incomingEvent | ) |
|
|
private |
Handles the Windows Game input.
- Parameters
-
incomingEvent | A reference to the incoming SDL event. |
- Returns
- If false then quit the Game State.
The documentation for this class was generated from the following files: