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