Jamie Slowgrove - PGG Assignment 2
 All Classes Namespaces Files Functions Variables Typedefs Macros
CreditsUI.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 CreditsUI : public UI
15 {
16 private:
19 
20 public:
27  CreditsUI(std::string vertexShaderFileName, std::string fragmentShaderFileName,
28  std::unordered_map<std::string, Shader*> &shaders);
29 
34  CreditsUI(std::unordered_map<std::string, Shader*> &shaders);
35 
39  ~CreditsUI();
40 
45  void update(float dt);
46 
50  void draw();
51 };
CreditsUI(std::string vertexShaderFileName, std::string fragmentShaderFileName, std::unordered_map< std::string, Shader * > &shaders)
Definition: CreditsUI.cpp:6
A class for the 2D CreditsUI that inherits UI.
Definition: CreditsUI.h:14
A class for the 2D user interfaces.
Definition: UI.h:15
GLsizei GLsizei GLuint * shaders
Definition: glew.h:1826
UIObject * credits
Definition: CreditsUI.h:18
void draw()
Definition: CreditsUI.cpp:55
A class for the UI Objects.
Definition: UIObject.h:12
void update(float dt)
Definition: CreditsUI.cpp:48
~CreditsUI()
Definition: CreditsUI.cpp:39
GLsizei const GLchar *const * string
Definition: glew.h:1843