Caseus Tower
 All Classes Namespaces Files Functions Variables
credits.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 Credits : public State
14 {
15 private:
18  /*The current index of the button Sprite object*/
21  bool pressed;
24 public:
32  Credits(StateManager *, SpriteHandler*, int, int);
33 
37  ~Credits();
38 
46  void update(float, float, float);
47 
51  void drawSprites();
52 
56  void drawSpritesWithAlpha();
57 };
Creates an Animation object Creates an Animation object to handle the timing of when an Animation sho...
Definition: animation.h:8
Animation * buttonPress
Definition: credits.h:23
Creates an State object Creates an State object with virtual functions and the SpriteHandler * and wi...
Definition: state.h:12
Creates a StateManager object. Creates a StateManager object to be inherited. DISCLAMER - This is a m...
Definition: stateManager.h:11
Credits(StateManager *, SpriteHandler *, int, int)
void drawSprites()
Creates an Entity object Creates an Entity object with all the information about the Entity...
Definition: entity.h:7
void update(float, float, float)
int exitSprite
Definition: credits.h:19
Creates an SpriteHandler object Creates an SpriteHandler object to deal with all of the applications ...
Definition: spriteHandler.h:12
Entity * button
Definition: credits.h:17
void drawSpritesWithAlpha()
Creates a Credits State. Creates a Credits State that inherits State.
Definition: credits.h:13
bool pressed
Definition: credits.h:21