Caseus Tower
|
Creates an App object that runs the application Creates an App object that runs the application. More...
#include <application.h>
Public Member Functions | |
App (SDL_Renderer *, int, int) | |
~App () | |
bool | input () |
void | update (float) |
void | draw () |
Private Attributes | |
SDL_Renderer * | renderer |
int | screenWidth |
int | screenHeight |
SpriteHandler * | sprites |
StateManager * | stateManager |
float | userX |
float | userY |
Creates an App object that runs the application Creates an App object that runs the application.
Definition at line 12 of file application.h.
App::App | ( | SDL_Renderer * | , |
int | , | ||
int | |||
) |
Constructs an App object
SDL_Renderer | * a pointer to the renderer |
int | the screen width |
int | the screen height |
App::~App | ( | ) |
Destructs an App object
void App::draw | ( | ) |
Draws the Game object
void App::update | ( | float | ) |
Update the App object
float | the deltaTime |
|
private |
a pointer to the renderer
Definition at line 16 of file application.h.
|
private |
Definition at line 19 of file application.h.
|
private |
the dimensions of the screen
Definition at line 18 of file application.h.
|
private |
a pointer to the sprites
Definition at line 21 of file application.h.
|
private |
a pointer to the stateManager
Definition at line 23 of file application.h.
|
private |
Definition at line 25 of file application.h.
|
private |
Definition at line 26 of file application.h.