Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

Grid Class Reference

#include <gameobjs.h>

Inheritance diagram for Grid:

Inheritance graph
[legend]
Collaboration diagram for Grid:

Collaboration graph
[legend]
List of all members.

Detailed Description

Grid object.

50x50 lines, centred. In x/z plane.


Public Member Functions

 Grid (float xin, float zin)
 Constructor. Takes the size of the grid as args.
void set_dim (float xin, float zin)
 Set the size of the grid.
void render (void)
 Renders a grid of 200 x 200 lines at the point and size specified.
void update (float time)
 Dummy.


Member Function Documentation

void Grid::render void   )  [virtual]
 

Renders a grid of 200 x 200 lines at the point and size specified.

This is done by default on the z,x plane but is rotated for this game currently.

Implements AbsObj.


The documentation for this class was generated from the following files:
Generated on Mon Jan 3 15:14:19 2005 for Graviton by  doxygen 1.3.9.1