5 #include <unordered_map>
27 std::unordered_map<std::string, Object*>
objects;
29 std::unordered_map<std::string, Shader*>
shaders;
std::vector< ParticleEffect * > particleEffects
Definition: MainMenu.h:45
Creates a State object. Creates a State object to be inherited. DISCLAMER - This is a modified versio...
Definition: State.h:16
MainMenuUI * userInterface
Definition: MainMenu.h:37
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
void update(float dt)
Definition: MainMenu.cpp:178
int playKey
Definition: MainMenu.h:41
glm::vec2 mouse
Definition: MainMenu.h:39
SDL_Window * window
Definition: State.h:22
bool input()
Definition: MainMenu.cpp:80
int exitKey
Definition: MainMenu.h:41
int screenHeight
Definition: State.h:26
MenuEntity * sam
Definition: MainMenu.h:33
void draw()
Definition: MainMenu.cpp:204
Creates an MainMenu object that inherits State and runs the MainMenu.
Definition: MainMenu.h:23
std::unordered_map< std::string, Shader * > shaders
Definition: MainMenu.h:29
int screenWidth
Definition: State.h:24
~MainMenu()
Definition: MainMenu.cpp:53
MainMenu(StateManager *stateManager, SDL_Window *window, int screenWidth, int screenHeight)
Definition: MainMenu.cpp:8
Camera * camera
Definition: MainMenu.h:35
int pressed
Definition: MainMenu.h:43
Audio * music
Definition: MainMenu.h:31
int credKey
Definition: MainMenu.h:41
void loadingScreen()
Definition: MainMenu.cpp:223
A class for the 2D MainMenuUI that inherits UI.
Definition: MainMenuUI.h:14
std::unordered_map< std::string, Object * > objects
Definition: MainMenu.h:27
Creates a Audio object to handle the SDL_Mixer.
Definition: Audio.h:12