5 #include <unordered_map>
42 std::unordered_map<std::string, Shader*> &
shaders,
float scoreValue,
float heightValue);
50 GameUI(std::unordered_map<std::string, Shader*> &
shaders,
float scoreValue,
float heightValue);
GameUI(std::string vertexShaderFileName, std::string fragmentShaderFileName, std::unordered_map< std::string, Shader * > &shaders, float scoreValue, float heightValue)
Definition: GameUI.cpp:6
void updateValues(float scoreValue, float heightValue)
Definition: GameUI.cpp:178
float scoreValue
Definition: GameUI.h:28
UIObject * height
Definition: GameUI.h:20
UIObject * score
Definition: GameUI.h:18
void update(float dt)
Definition: GameUI.cpp:110
A class for the 2D user interfaces.
Definition: UI.h:15
UIObject * scoreText
Definition: GameUI.h:24
UIObject * helpInfo
Definition: GameUI.h:22
GLsizei GLsizei GLuint * shaders
Definition: glew.h:1826
void draw()
Definition: GameUI.cpp:159
float heightValue
Definition: GameUI.h:30
A class for the UI Objects.
Definition: UIObject.h:12
A class for the 2D GameUI that inherits UI.
Definition: GameUI.h:14
~GameUI()
Definition: GameUI.cpp:97
GLsizei const GLchar *const * string
Definition: glew.h:1843
UIObject * heightText
Definition: GameUI.h:26