ES3D::GameBase Class Reference

#include <GameBase.h>

List of all members.

Public Member Functions

GLvoid init (GLvoid)
GLvoid reshape (GLsizei width, GLsizei height)
GLvoid update (GLvoid)
GLvoid destroy (GLvoid)

Protected Member Functions

virtual GLvoid initGame (GLvoid)=0
virtual GLvoid reshapeGame (GLsizei width, GLsizei height)=0
virtual GLvoid updateGame (GLuint time)=0
virtual GLvoid destroyGame (GLvoid)=0


Detailed Description

Base class for all games using the ES 3D Game SDK.


Member Function Documentation

GLvoid ES3D::GameBase::destroy ( GLvoid   ) 

Destroys the game and frees all resources.

virtual GLvoid ES3D::GameBase::destroyGame ( GLvoid   )  [protected, pure virtual]

Destroys the game.

GLvoid ES3D::GameBase::init ( GLvoid   ) 

Inits the game.

virtual GLvoid ES3D::GameBase::initGame ( GLvoid   )  [protected, pure virtual]

Callback method for initializing everything.

GLvoid ES3D::GameBase::reshape ( GLsizei  width,
GLsizei  height 
)

Resizes the current screen.

Parameters:
width the width
height the height

virtual GLvoid ES3D::GameBase::reshapeGame ( GLsizei  width,
GLsizei  height 
) [protected, pure virtual]

Callback method when the screen is resized.

Parameters:
width the new width
height the new height

GLvoid ES3D::GameBase::update ( GLvoid   ) 

Updates the game. Call this method in every loop.

virtual GLvoid ES3D::GameBase::updateGame ( GLuint  time  )  [protected, pure virtual]

Updates the game scene with the given time.

Parameters:
time the time elapsed since last frame


The documentation for this class was generated from the following files:
Generated on Sat May 10 16:30:55 2008 for ES 3D Game SDK Documentation by  doxygen 1.4.7