CG_Labs  2021.2
Public Member Functions | Private Attributes | List of all members
edan35::Assignment2 Class Reference

Wrapper class for Assignment 2.

#include <assignment2.hpp>

Public Member Functions

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

◆ Assignment2()

edan35::Assignment2::Assignment2 ( WindowManager windowManager)

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

◆ ~Assignment2()

edan35::Assignment2::~Assignment2 ( )

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

Member Function Documentation

◆ run()

void edan35::Assignment2::run ( )

Member Data Documentation

◆ inputHandler

InputHandler edan35::Assignment2::inputHandler
private

◆ mCamera

FPSCameraf edan35::Assignment2::mCamera
private

◆ mWindowManager

WindowManager& edan35::Assignment2::mWindowManager
private

◆ window

GLFWwindow* edan35::Assignment2::window
private

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