Voxeloop  0.1.0
Musical Loop Generation in Voxel World
PlayState Class Reference

#include <PlayState.hpp>

Inheritance diagram for PlayState:
Inheritance graph
Collaboration diagram for PlayState:
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 PlayStateinstance ()
 

Protected Member Functions

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

Private Member Functions

void loop ()
 

Private Attributes

SharedDataRef m_sharedData
 
Voxeloopvoxeloop
 

Static Private Attributes

static PlayState m_PlayState
 

Constructor & Destructor Documentation

◆ PlayState()

PlayState::PlayState ( )
inlineprotected

Member Function Documentation

◆ cleanup()

void PlayState::cleanup ( )
virtual

Implements StateMachine.

◆ draw()

void PlayState::draw ( CoreEngine engine)
virtual

Implements StateMachine.

◆ handleEvents()

void PlayState::handleEvents ( CoreEngine engine)
virtual

Implements StateMachine.

◆ init()

void PlayState::init ( )
virtual

Implements StateMachine.

◆ instance()

static PlayState* PlayState::instance ( )
inlinestatic

◆ loop()

void PlayState::loop ( )
private

◆ pause()

void PlayState::pause ( )
virtual

Implements StateMachine.

◆ resume()

void PlayState::resume ( )
virtual

Implements StateMachine.

◆ update()

void PlayState::update ( CoreEngine engine)
virtual

Implements StateMachine.

Member Data Documentation

◆ m_PlayState

PlayState PlayState::m_PlayState
staticprivate

◆ m_sharedData

SharedDataRef PlayState::m_sharedData
private

◆ voxeloop

Voxeloop* PlayState::voxeloop
private

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