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