7 #include <unordered_map> 24 LoadingScreen(std::string vertexShaderFileName, std::string fragmentShaderFileName,
25 std::unordered_map<std::string, Shader*> &shaders);
31 LoadingScreen(std::unordered_map<std::string, Shader*> &shaders);
~LoadingScreen()
Destructs the LoadingScreen object.
Definition: LoadingScreen.cpp:56
UIObject * loadingImage
The loading image.
Definition: LoadingScreen.h:53
LoadingScreen(std::string vertexShaderFileName, std::string fragmentShaderFileName, std::unordered_map< std::string, Shader *> &shaders)
Constructs the LoadingScreen object.
Definition: LoadingScreen.cpp:5
UIObject * loadingText
The loading text.
Definition: LoadingScreen.h:51
A class for the 2D user interfaces.
Definition: UI.h:16
void draw()
A function to draw to the screen.
Definition: LoadingScreen.cpp:67
A class for the UI Objects.
Definition: UIObject.h:13
void update(float dt)
A function to update the LoadingScreen.
Definition: LoadingScreen.cpp:63
A class for the 2D LoadingScreen that inherits UI.
Definition: LoadingScreen.h:15