Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Data Fields | Globals

Model Class Reference

#include <Model.h>

Inheritance diagram for Model:

CoveredGameTileModel UncoveredGameTileModel

Public Member Functions

 Model ()
virtual void render ()=0
virtual ~Model ()

Private Attributes

GLfloat centerX
GLfloat centerY
GLfloat centerZ

Constructor & Destructor Documentation

Model  )  [inline]
 

Empty construtor.

Definition at line 28 of file Model.h.

virtual ~Model  )  [inline, virtual]
 

Empty destructor.

Definition at line 30 of file Model.h.


Member Function Documentation

virtual void render  )  [pure virtual]
 

This funtion renders a model during the game.

It's virtual since the render function for each model might look different.

Implemented in CoveredGameTileModel, and UncoveredGameTileModel.


Field Documentation

GLfloat centerX [private]
 

Center of the Model in x direction (object coordinates).

Definition at line 20 of file Model.h.

GLfloat centerY [private]
 

Center of the Model in x direction (object coordinates).

Definition at line 22 of file Model.h.

GLfloat centerZ [private]
 

Center of the Model in x direction (object coordinates).

Definition at line 24 of file Model.h.


Generated on Fri Apr 8 00:11:48 2005 for Quaxbomber by  doxygen 1.4.1