A class for the 2D CreditsUI that inherits UI. More...
#include <CreditsUI.h>
Public Member Functions | |
CreditsUI (std::string vertexShaderFileName, std::string fragmentShaderFileName, std::unordered_map< std::string, Shader * > &shaders) | |
CreditsUI (std::unordered_map< std::string, Shader * > &shaders) | |
~CreditsUI () | |
void | update (float dt) |
void | draw () |
Public Member Functions inherited from UI | |
UI (std::string vertexShaderFileName, std::string fragmentShaderFileName, std::unordered_map< std::string, Shader * > &shaders) | |
UI (std::unordered_map< std::string, Shader * > &shaders) | |
~UI () | |
Private Attributes | |
UIObject * | credits |
Additional Inherited Members | |
Protected Member Functions inherited from UI | |
void | initialiseShaders (std::string vertexShaderFileName, std::string fragmentShaderFileName, std::unordered_map< std::string, Shader * > &shaders) |
Protected Attributes inherited from UI | |
Shader * | shader |
CreditsUI::CreditsUI | ( | std::string | vertexShaderFileName, |
std::string | fragmentShaderFileName, | ||
std::unordered_map< std::string, Shader * > & | shaders | ||
) |
CreditsUI::CreditsUI | ( | std::unordered_map< std::string, Shader * > & | shaders | ) |
CreditsUI::~CreditsUI | ( | ) |
Destructs the CreditsUI object.
|
virtual |
A function to draw to the screen.
Implements UI.
|
virtual |
|
private |
The credits image