A class for the 2D HelpUI that inherits UI. More...
#include <HelpUI.h>
Public Member Functions | |
HelpUI (std::string vertexShaderFileName, std::string fragmentShaderFileName, std::unordered_map< std::string, Shader * > &shaders) | |
HelpUI (std::unordered_map< std::string, Shader * > &shaders) | |
~HelpUI () | |
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 * | help |
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 |
HelpUI::HelpUI | ( | std::string | vertexShaderFileName, |
std::string | fragmentShaderFileName, | ||
std::unordered_map< std::string, Shader * > & | shaders | ||
) |
HelpUI::HelpUI | ( | std::unordered_map< std::string, Shader * > & | shaders | ) |
HelpUI::~HelpUI | ( | ) |
Destructs the HelpUI object.
|
virtual |
A function to draw to the screen.
Implements UI.
|
virtual |
|
private |
The help image