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

Wrapper class for Assignment 4.

#include <assignment4.hpp>

Public Member Functions

 Assignment4 (WindowManager &windowManager)
 Default constructor. More...
 
 ~Assignment4 ()
 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

◆ Assignment4()

edaf80::Assignment4::Assignment4 ( WindowManager windowManager)

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

◆ ~Assignment4()

edaf80::Assignment4::~Assignment4 ( )

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

Member Function Documentation

◆ run()

void edaf80::Assignment4::run ( )

Member Data Documentation

◆ inputHandler

InputHandler edaf80::Assignment4::inputHandler
private

◆ mCamera

FPSCameraf edaf80::Assignment4::mCamera
private

◆ mWindowManager

WindowManager& edaf80::Assignment4::mWindowManager
private

◆ window

GLFWwindow* edaf80::Assignment4::window
private

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