Ankush's Garage
A collection of stuff made by Ankush Roy
Loading...
Searching...
No Matches
Common::BaseProject Class Referenceabstract

Structure representing an project application instance. More...

#include <BaseProject.h>

Inheritance diagram for Common::BaseProject:
Boids SimpleExample Triangle

Public Member Functions

virtual ~BaseProject ()=default
 
virtual bool Init ()=0
 
virtual bool Update ()=0
 
virtual bool Draw ()=0
 
virtual void Quit ()=0
 
virtual const std::string & getName ()=0
 

Static Public Attributes

static bool hasUI = false
 

Detailed Description

Structure representing an project application instance.

This structure contains function callbacks required for initialization, updating, drawing, and quitting an project.

Constructor & Destructor Documentation

◆ ~BaseProject()

virtual Common::BaseProject::~BaseProject ( )
virtualdefault

Member Function Documentation

◆ Draw()

virtual bool Common::BaseProject::Draw ( )
pure virtual

Implemented in Boids, SimpleExample, and Triangle.

◆ getName()

virtual const std::string & Common::BaseProject::getName ( )
nodiscardpure virtual

Implemented in Boids, SimpleExample, and Triangle.

◆ Init()

virtual bool Common::BaseProject::Init ( )
pure virtual

Implemented in Boids, SimpleExample, and Triangle.

◆ Quit()

virtual void Common::BaseProject::Quit ( )
pure virtual

Implemented in Boids, SimpleExample, and Triangle.

◆ Update()

virtual bool Common::BaseProject::Update ( )
pure virtual

Implemented in Boids, SimpleExample, and Triangle.

Member Data Documentation

◆ hasUI

bool Common::BaseProject::hasUI = false
static

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