5 #include <unordered_map>
23 std::unordered_map<std::string, Object*>
objects;
25 std::unordered_map<std::string, Shader*>
shaders;
Creates a State object. Creates a State object to be inherited. DISCLAMER - This is a modified versio...
Definition: State.h:16
std::unordered_map< std::string, Object * > objects
Definition: EndGame.h:23
Creates a StateManager object. Creates a StateManager object to be inherited. DISCLAMER - This is my ...
Definition: StateManager.h:13
StateManager * stateManager
Definition: State.h:20
Creates an Camera object.
Definition: Camera.h:14
A class for the 2D EndGameUI that inherits UI.
Definition: EndGameUI.h:14
Audio * music
Definition: EndGame.h:31
SDL_Window * window
Definition: State.h:22
void draw()
Definition: EndGame.cpp:90
~EndGame()
Definition: EndGame.cpp:23
EndGame(StateManager *stateManager, SDL_Window *window, int screenWidth, int screenHeight, Audio *music, float score)
Definition: EndGame.cpp:7
void update(float dt)
Definition: EndGame.cpp:81
int screenHeight
Definition: State.h:26
std::unordered_map< std::string, Shader * > shaders
Definition: EndGame.h:25
EndGameUI * userInterface
Definition: EndGame.h:29
int screenWidth
Definition: State.h:24
Camera * camera
Definition: EndGame.h:27
bool input()
Definition: EndGame.cpp:41
Creates an EndGame object that inherits State and runs the EndGame screen.
Definition: EndGame.h:19
Creates a Audio object to handle the SDL_Mixer.
Definition: Audio.h:12