Caseus Tower
 All Classes Namespaces Files Functions Variables
pause.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "state.h"
4 #include "stateManager.h"
5 #include "spriteHandler.h"
6 #include "entity.h"
7 #include "animation.h"
8 
13 class Pause : public State
14 {
15 private:
19  /*The current index of the buttons*/
23  bool pressed;
26 public:
34  Pause(StateManager *, SpriteHandler*, int, int);
35 
39  ~Pause();
40 
48  void update(float, float, float);
49 
53  void drawSprites();
54 
58  void drawSpritesWithAlpha();
59 };
Creates an Animation object Creates an Animation object to handle the timing of when an Animation sho...
Definition: animation.h:8
Creates an State object Creates an State object with virtual functions and the SpriteHandler * and wi...
Definition: state.h:12
bool pressed
Definition: pause.h:23
int playSprite
Definition: pause.h:20
int exitSprite
Definition: pause.h:21
Creates a StateManager object. Creates a StateManager object to be inherited. DISCLAMER - This is a m...
Definition: stateManager.h:11
Pause(StateManager *, SpriteHandler *, int, int)
void drawSprites()
void update(float, float, float)
Creates an Entity object Creates an Entity object with all the information about the Entity...
Definition: entity.h:7
Entity * playButton
Definition: pause.h:17
Creates an SpriteHandler object Creates an SpriteHandler object to deal with all of the applications ...
Definition: spriteHandler.h:12
Entity * exitButton
Definition: pause.h:18
Creates a Pause State. Creates a Pause State that inherits State.
Definition: pause.h:13
void drawSpritesWithAlpha()
Animation * buttonPress
Definition: pause.h:25