Jamie Slowgrove - PGG Assignment 1 - SDL
Main Page
Classes
Files
File List
All
Classes
Functions
PGGAssignment1SDL
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
State
Creates a State object. Creates a State object to be inherited. Made using information from http://bl...
Definition:
state.h:17
HelpState::Draw
void Draw()
Definition:
helpState.cpp:62
StateManager
Creates a State manager object. Creates a State manager object to be inherited. Made using informatio...
Definition:
stateManager.h:13
HelpState::HandleSDLEvents
bool HandleSDLEvents()
Definition:
helpState.cpp:24
HelpState::~HelpState
~HelpState()
Definition:
helpState.cpp:15
Texture
Creates a Texture for use with a renderer Creates a Texture from an image file, this can then be used...
Definition:
texture.h:13
HelpState::Update
void Update(float deltaTime)
Definition:
helpState.cpp:55
HelpState::HelpState
HelpState(StateManager *, SDL_Renderer *)
Definition:
helpState.cpp:6
HelpState
Creates a HelpState object. Creates a HelpState object that inherits State.
Definition:
helpState.h:13
Generated on Fri Jan 16 2015 17:55:16 for Jamie Slowgrove - PGG Assignment 1 - SDL by
1.8.8