Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

peon::IApplicationState Class Reference

This base object is responsible for containing everything and anything that belongs in its own state during the lifetime of the game. More...

#include <IApplicationState.h>

Inheritance diagram for peon::IApplicationState:

peon::IUnknown List of all members.

Public Member Functions

 IApplicationState ()
 Constructor.
virtual ~IApplicationState ()
 Destructor.
virtual bool onLoad ()=0
 This method is launched when we want to load up and create everything within this state.
virtual void onUnload ()=0
 This method is launched when its time to cleanup and free any allocated memory for this state.
virtual void onUpdate (float fElapsedTime)=0
 This method is launched when the engine signals the chance to update this state.
virtual void onRender ()
 This method is responsible for processing any rendering commands for this state.

Detailed Description

This base object is responsible for containing everything and anything that belongs in its own state during the lifetime of the game.


Member Function Documentation

virtual bool peon::IApplicationState::onLoad  )  [pure virtual]
 

This method is launched when we want to load up and create everything within this state.

Returns:
bool - true if ok

virtual void peon::IApplicationState::onUpdate float  fElapsedTime  )  [pure virtual]
 

This method is launched when the engine signals the chance to update this state.

Parameters:
fElapsedTime - the delta used for calculating object movement


The documentation for this class was generated from the following file:
Generated on Thu Dec 1 01:55:41 2005 for Peon by  doxygen 1.4.1