Jamie Slowgrove - PGG Assignment 2
 All Classes Namespaces Files Functions Variables Typedefs Macros
EndGameUI.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <SDL.h>
4 #include <iostream>
5 #include <unordered_map>
6 #include "Shader.h"
7 #include "UIObject.h"
8 #include "UI.h"
9 
14 class EndGameUI : public UI
15 {
16 private:
21 
22 public:
30  EndGameUI(std::string vertexShaderFileName, std::string fragmentShaderFileName,
31  std::unordered_map<std::string, Shader*> &shaders, float score);
32 
38  EndGameUI(std::unordered_map<std::string, Shader*> &shaders, float score);
39 
43  ~EndGameUI();
44 
49  void update(float dt);
50 
54  void draw();
55 };
void draw()
Definition: EndGameUI.cpp:86
UIObject * scoreText
Definition: EndGameUI.h:20
A class for the 2D user interfaces.
Definition: UI.h:15
A class for the 2D EndGameUI that inherits UI.
Definition: EndGameUI.h:14
GLsizei GLsizei GLuint * shaders
Definition: glew.h:1826
void update(float dt)
Definition: EndGameUI.cpp:79
A class for the UI Objects.
Definition: UIObject.h:12
EndGameUI(std::string vertexShaderFileName, std::string fragmentShaderFileName, std::unordered_map< std::string, Shader * > &shaders, float score)
Definition: EndGameUI.cpp:6
UIObject * endGame
Definition: EndGameUI.h:18
GLsizei const GLchar *const * string
Definition: glew.h:1843
~EndGameUI()
Definition: EndGameUI.cpp:70