Flock You!
 All Classes Files Functions Variables
help.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <SDL.h>
4 #include "state.h"
5 #include "stateManager.h"
6 #include "audio.h"
7 #include "text.h"
8 #include "game.h"
9 
14 class Help : public State
15 {
16 private:
17  /*rendered text*/
18  std::vector<Text *> text;
19 
20 public:
28  Help(StateManager *, SDL_Renderer *, int, int);
29 
33  ~Help();
34 
39  bool input();
40 
46  void update(float deltaTime);
47 
51  void draw();
52 };
Creates a State object. Creates a State object to be inherited.
Definition: state.h:14
void draw()
Definition: help.cpp:85
Creates a StateManager object. Creates a StateManager object to be inherited.
Definition: stateManager.h:10
Creates an Help object that inherits State Creates an Help object that inherits State and runs the He...
Definition: help.h:14
~Help()
Definition: help.cpp:29
Help(StateManager *, SDL_Renderer *, int, int)
Definition: help.cpp:6
void update(float deltaTime)
Definition: help.cpp:78
std::vector< Text * > text
Definition: help.h:18
bool input()
Definition: help.cpp:41