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