Jamie Slowgrove - PGG Assignment 1 - SDL
 All Classes Functions
creditsState.h
1 #pragma once
2 #ifndef CREDITSSTATE_H
3 #define CREDITSSTATE_H
4 
5 #include "state.h"
6 #include "stateManager.h"
7 #include "texture.h"
8 
13 class CreditsState : public State
14 {
15 private:
16  /*the credit image*/
17  Texture * credits;
18 public:
25  CreditsState(StateManager *, SDL_Renderer *);
26 
31  ~CreditsState();
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 Update(float deltaTime)
Definition: creditsState.cpp:55
Creates a State manager object. Creates a State manager object to be inherited. Made using informatio...
Definition: stateManager.h:13
~CreditsState()
Definition: creditsState.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
Creates a CreditsState object. Creates a CreditsState object that inherits State. ...
Definition: creditsState.h:13
CreditsState(StateManager *, SDL_Renderer *)
Definition: creditsState.cpp:6
bool HandleSDLEvents()
Definition: creditsState.cpp:24
void Draw()
Definition: creditsState.cpp:62