CG_Labs  2021.2
assignment4.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 Assignment4 {
15  public:
20  Assignment4(WindowManager& windowManager);
21 
26  ~Assignment4();
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 4.
Definition: assignment4.hpp:14
InputHandler inputHandler
Definition: assignment4.hpp:34
~Assignment4()
Default destructor.
Definition: assignment4.cpp:34
WindowManager & mWindowManager
Definition: assignment4.hpp:35
void run()
Contains the logic of the assignment, along with the render loop.
Definition: assignment4.cpp:40
Assignment4(WindowManager &windowManager)
Default constructor.
Definition: assignment4.cpp:18
GLFWwindow * window
Definition: assignment4.hpp:36
FPSCameraf mCamera
Definition: assignment4.hpp:33
Definition: assignment2.hpp:12