Caseus Tower
 All Classes Namespaces Files Functions Variables
application.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <SDL.h>
4 #include "texture.h"
5 #include "spriteHandler.h"
6 #include "stateManager.h"
7 
12 class App
13 {
14 private:
16  SDL_Renderer * renderer;
24  /*the pressed locations*/
25  float userX;
26  float userY;
27 public:
34  App(SDL_Renderer *, int, int);
35 
39  ~App();
40 
45  bool input();
46 
51  void update(float);
52 
56  void draw();
57 };
float userX
Definition: application.h:25
SpriteHandler * sprites
Definition: application.h:21
App(SDL_Renderer *, int, int)
bool input()
float userY
Definition: application.h:26
Creates a StateManager object. Creates a StateManager object to be inherited. DISCLAMER - This is a m...
Definition: stateManager.h:11
SDL_Renderer * renderer
Definition: application.h:16
int screenWidth
Definition: application.h:18
int screenHeight
Definition: application.h:19
void draw()
void update(float)
Creates an App object that runs the application Creates an App object that runs the application...
Definition: application.h:12
Creates an SpriteHandler object Creates an SpriteHandler object to deal with all of the applications ...
Definition: spriteHandler.h:12
~App()
StateManager * stateManager
Definition: application.h:23