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