Voxeloop  0.1.0
Musical Loop Generation in Voxel World
MenuState Class Reference

#include <MenuState.hpp>

Inheritance diagram for MenuState:
Inheritance graph
Collaboration diagram for MenuState:
Collaboration graph

Public Member Functions

void init ()
 
void cleanup ()
 
void pause ()
 
void resume ()
 
void handleEvents (CoreEngine *engine)
 
void update (CoreEngine *engine)
 
void draw (CoreEngine *engine)
 
- Public Member Functions inherited from StateMachine
void changeState (CoreEngine *engine, StateMachine *state)
 

Static Public Member Functions

static MenuStateinstance ()
 

Protected Member Functions

 MenuState ()
 
- Protected Member Functions inherited from StateMachine
 StateMachine ()
 

Private Attributes

SharedDataRef m_sharedData
 
uint8_t nextState
 

Static Private Attributes

static MenuState m_menuState
 

Constructor & Destructor Documentation

◆ MenuState()

MenuState::MenuState ( )
inlineprotected

Member Function Documentation

◆ cleanup()

void MenuState::cleanup ( )
virtual

Implements StateMachine.

◆ draw()

void MenuState::draw ( CoreEngine engine)
virtual

Implements StateMachine.

◆ handleEvents()

void MenuState::handleEvents ( CoreEngine engine)
virtual

Implements StateMachine.

◆ init()

void MenuState::init ( )
virtual

Implements StateMachine.

◆ instance()

static MenuState* MenuState::instance ( )
inlinestatic

◆ pause()

void MenuState::pause ( )
virtual

Implements StateMachine.

◆ resume()

void MenuState::resume ( )
virtual

Implements StateMachine.

◆ update()

void MenuState::update ( CoreEngine engine)
virtual

Implements StateMachine.

Member Data Documentation

◆ m_menuState

MenuState MenuState::m_menuState
staticprivate

◆ m_sharedData

SharedDataRef MenuState::m_sharedData
private

◆ nextState

uint8_t MenuState::nextState
private

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