Jamie Slowgrove - PGG Assignment 1 - SDL
 All Classes Functions
helpState.h
1 #pragma once
2 #ifndef HELPSTATE_H
3 #define HELPSTATE_H
4 
5 #include "state.h"
6 #include "stateManager.h"
7 #include "texture.h"
8 
13 class HelpState : public State
14 {
15 private:
16  /*the help image*/
17  Texture * help;
18 public:
25  HelpState(StateManager *, SDL_Renderer *);
26 
31  ~HelpState();
32 
38  bool HandleSDLEvents();
39 
45  void Update(float deltaTime);
46 
51  void Draw();
52 };
53 #endif
Creates a State object. Creates a State object to be inherited. Made using information from http://bl...
Definition: state.h:17
void Draw()
Definition: helpState.cpp:62
Creates a State manager object. Creates a State manager object to be inherited. Made using informatio...
Definition: stateManager.h:13
bool HandleSDLEvents()
Definition: helpState.cpp:24
~HelpState()
Definition: helpState.cpp:15
Creates a Texture for use with a renderer Creates a Texture from an image file, this can then be used...
Definition: texture.h:13
void Update(float deltaTime)
Definition: helpState.cpp:55
HelpState(StateManager *, SDL_Renderer *)
Definition: helpState.cpp:6
Creates a HelpState object. Creates a HelpState object that inherits State.
Definition: helpState.h:13