Jamie Slowgrove - PGG Assignment 2
 All Classes Namespaces Files Functions Variables Typedefs Macros
LoadingScreen.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 LoadingScreen : public UI
15 {
16 private:
21 
22 public:
29  LoadingScreen(std::string vertexShaderFileName, std::string fragmentShaderFileName,
30  std::unordered_map<std::string, Shader*> &shaders);
31 
36  LoadingScreen(std::unordered_map<std::string, Shader*> &shaders);
37 
42 
47  void update(float dt);
48 
52  void draw();
53 };
~LoadingScreen()
Definition: LoadingScreen.cpp:63
UIObject * loadingImage
Definition: LoadingScreen.h:20
UIObject * loadingText
Definition: LoadingScreen.h:18
A class for the 2D user interfaces.
Definition: UI.h:15
GLsizei GLsizei GLuint * shaders
Definition: glew.h:1826
void draw()
Definition: LoadingScreen.cpp:80
A class for the UI Objects.
Definition: UIObject.h:12
LoadingScreen(std::string vertexShaderFileName, std::string fragmentShaderFileName, std::unordered_map< std::string, Shader * > &shaders)
Definition: LoadingScreen.cpp:6
void update(float dt)
Definition: LoadingScreen.cpp:73
A class for the 2D LoadingScreen that inherits UI.
Definition: LoadingScreen.h:14
GLsizei const GLchar *const * string
Definition: glew.h:1843