Neo  0.5.0
Developer Documentation
Neo::NeoGame Class Reference

#include <NeoGame.h>

Public Member Functions

 NeoGame (void)
 
virtual ~NeoGame (void)
 
float getFrameDelta ()
 
bool isRunning (void)
 
bool hasPostEffects (void)
 
void enablePostEffects ()
 
void disablePostEffects ()
 
PostProcessorgetPostProcessor ()
 
void begin (void)
 
void end (void)
 
virtual void update (void)
 
virtual void draw (void)
 
virtual void onBegin (void)
 Will be called as soon as the game starts. More...
 
virtual void onEnd (void)
 Will be called as soon as the game ends. More...
 
virtual void onBeginLevel (void)
 
virtual void onEndLevel (void)
 
virtual void onBeginScene (void)
 
virtual void onEndScene (void)
 
void registerSubGame (SubGame *g)
 Adds a SubGame to the list of registered games. More...
 

Constructor & Destructor Documentation

Neo::NeoGame::NeoGame ( void  )
virtual Neo::NeoGame::~NeoGame ( void  )
virtual

Member Function Documentation

void Neo::NeoGame::begin ( void  )
inline
void Neo::NeoGame::disablePostEffects ( )
inline
virtual void Neo::NeoGame::draw ( void  )
virtual
void Neo::NeoGame::enablePostEffects ( )
inline
void Neo::NeoGame::end ( void  )
inline
float Neo::NeoGame::getFrameDelta ( )
inline
PostProcessor* Neo::NeoGame::getPostProcessor ( )
inline
bool Neo::NeoGame::hasPostEffects ( void  )
inline
bool Neo::NeoGame::isRunning ( void  )
inline
virtual void Neo::NeoGame::onBegin ( void  )
virtual

Will be called as soon as the game starts.

virtual void Neo::NeoGame::onBeginLevel ( void  )
inlinevirtual
virtual void Neo::NeoGame::onBeginScene ( void  )
virtual
virtual void Neo::NeoGame::onEnd ( void  )
virtual

Will be called as soon as the game ends.

virtual void Neo::NeoGame::onEndLevel ( void  )
inlinevirtual
virtual void Neo::NeoGame::onEndScene ( void  )
virtual
void Neo::NeoGame::registerSubGame ( SubGame g)
inline

Adds a SubGame to the list of registered games.

This can be used to catch onBegin, update, draw and onEnd events without replacing the real NeoGame.

virtual void Neo::NeoGame::update ( void  )
virtual

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