CG_Labs  2021.2
assignment5.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "core/InputHandler.h"
4 #include "core/FPSCamera.h"
5 #include "core/WindowManager.hpp"
6 
7 
8 class Window;
9 
10 
11 namespace edaf80
12 {
14  class Assignment5 {
15  public:
20  Assignment5(WindowManager& windowManager);
21 
26  ~Assignment5();
27 
30  void run();
31 
32  private:
36  GLFWwindow* window;
37  };
38 }
Definition: InputHandler.h:19
A simple class for creating and interacting with windows, using the GLFW library.
Definition: WindowManager.hpp:22
Wrapper class for Assignment 5.
Definition: assignment5.hpp:14
GLFWwindow * window
Definition: assignment5.hpp:36
FPSCameraf mCamera
Definition: assignment5.hpp:33
Assignment5(WindowManager &windowManager)
Default constructor.
Definition: assignment5.cpp:15
void run()
Contains the logic of the assignment, along with the render loop.
Definition: assignment5.cpp:37
WindowManager & mWindowManager
Definition: assignment5.hpp:35
InputHandler inputHandler
Definition: assignment5.hpp:34
~Assignment5()
Default destructor.
Definition: assignment5.cpp:31
Definition: assignment2.hpp:12