7 #include "stateManager.h"
9 #include "background.h"
13 #include "mapLoader.h"
14 #include "collision.h"
17 #include "animation.h"
45 bool cmdJump, cmdLeft, cmdRight;
76 void Update(
float deltaTime);
Creates a Animation object to handle the animations.
Definition: animation.h:10
void Update(float deltaTime)
Definition: gameState.cpp:178
void displayScore()
Definition: gameState.cpp:430
~GameState()
Definition: gameState.cpp:56
Creates a State object. Creates a State object to be inherited. Made using information from http://bl...
Definition: state.h:17
GameState(StateManager *, SDL_Renderer *)
Definition: gameState.cpp:9
Creates a GameState object. Creates a GameState object that inherits State.
Definition: gameState.h:23
Creates a State manager object. Creates a State manager object to be inherited. Made using informatio...
Definition: stateManager.h:13
void Draw()
Definition: gameState.cpp:381
Creates a Background object that inherits Entity. Creates a Background object with a velocity...
Definition: background.h:13
void updateScene(float, bool)
Definition: gameState.cpp:445
bool HandleSDLEvents()
Definition: gameState.cpp:80
Creates a Texture for use with a renderer Creates a Texture from an image file, this can then be used...
Definition: texture.h:13
a class to load in a map text file
Definition: mapLoader.h:16
Creates an Collision object. The Collision object is for use with detecting Collision. Used help from http://higherorderfun.com/blog/2012/05/20/the-guide-to-implementing-2d-platformers/ in the type 2 section.
Definition: collision.h:15
Creates a Player object that inherits Creature which in turn inherits Entity.
Definition: player.h:10
Creates a Audio object to handle the SDL_Mixer. Done using help from http://www.lazyfoo.net/tutorials/SDL/21_sound_effects_and_music/index.php.
Definition: audio.h:13