Voxeloop  0.1.0
Musical Loop Generation in Voxel World
State Class Referenceabstract

#include <State.hpp>

Collaboration diagram for State:
Collaboration graph

Public Member Functions

virtual void init ()=0
 Initialize state related data. More...
 
virtual void draw ()=0
 Draw state objects. More...
 
virtual void update ()=0
 Update state data. More...
 
virtual void handleInput ()=0
 Handle user input. More...
 
virtual void pause ()
 Pause a state. More...
 
virtual void resume ()
 Resume paused state. More...
 
virtual ~State ()=default
 Destroy the State object. More...
 

Constructor & Destructor Documentation

◆ ~State()

virtual State::~State ( )
virtualdefault

Destroy the State object.

Member Function Documentation

◆ draw()

virtual void State::draw ( )
pure virtual

Draw state objects.

◆ handleInput()

virtual void State::handleInput ( )
pure virtual

Handle user input.

◆ init()

virtual void State::init ( )
pure virtual

Initialize state related data.

◆ pause()

virtual void State::pause ( )
virtual

Pause a state.

◆ resume()

virtual void State::resume ( )
virtual

Resume paused state.

◆ update()

virtual void State::update ( )
pure virtual

Update state data.


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