CG_Labs  2021.2
Public Member Functions | Private Attributes | List of all members
edaf80::Assignment3 Class Reference

Wrapper class for Assignment 3.

#include <assignment3.hpp>

Public Member Functions

 Assignment3 (WindowManager &windowManager)
 Default constructor. More...
 
 ~Assignment3 ()
 Default destructor. More...
 
void run ()
 Contains the logic of the assignment, along with the render loop. More...
 

Private Attributes

FPSCameraf mCamera
 
InputHandler inputHandler
 
WindowManagermWindowManager
 
GLFWwindow * window
 

Constructor & Destructor Documentation

◆ Assignment3()

edaf80::Assignment3::Assignment3 ( WindowManager windowManager)

It will initialise various modules of bonobo and retrieve a window to draw to.

◆ ~Assignment3()

edaf80::Assignment3::~Assignment3 ( )

It will release the bonobo modules initialised by the constructor, as well as the window.

Member Function Documentation

◆ run()

void edaf80::Assignment3::run ( )

Member Data Documentation

◆ inputHandler

InputHandler edaf80::Assignment3::inputHandler
private

◆ mCamera

FPSCameraf edaf80::Assignment3::mCamera
private

◆ mWindowManager

WindowManager& edaf80::Assignment3::mWindowManager
private

◆ window

GLFWwindow* edaf80::Assignment3::window
private

The documentation for this class was generated from the following files: