CG_Labs 2021.2
Loading...
Searching...
No Matches
assignment2.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "core/InputHandler.h"
4#include "core/FPSCamera.h"
6
7
8class Window;
9
10
11namespace edaf80
12{
15 public:
20 Assignment2(WindowManager& windowManager);
21
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
Definition assignment2.hpp:12