Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Surface Class Reference

This is the surface class that stores all Obstacle s, Bolt s, and most importantly, Spectre s. More...

#include <surface.h>

Inherited by _classes_ [private].

Inheritance diagram for Surface:

Inheritance graph
[legend]
Collaboration diagram for Surface:

Collaboration graph
[legend]
List of all members.

Public Methods

void draw ()
 This draws EVERY Collidable in the Surface .. More...

Vector toWorld (const Vector &localSpace)
 This function converts a coordinate on the current Surface into World coordinates. More...

Vector toSurface (const Vector &worldSpace)
 This function converts a coordinate on the World into local ( Surface ) coordinates. More...


Public Attributes

IdTable< BoltboltField
 The Bolts on this Surface. More...

ObstacleGrid obstacleGrid
 The Bolts on this Surface. More...


Private Attributes

Matrix pos
 The current position (in world coordinates) of the Surface 's center. More...


Detailed Description

This is the surface class that stores all Obstacle s, Bolt s, and most importantly, Spectre s.


Member Function Documentation

void Surface::draw  
 

This draws EVERY Collidable in the Surface ..

Vector Surface::toSurface const Vector   worldSpace
 

This function converts a coordinate on the World into local ( Surface ) coordinates.

Vector Surface::toWorld const Vector   localSpace
 

This function converts a coordinate on the current Surface into World coordinates.


Member Data Documentation

IdTable<Bolt> Surface::boltField
 

The Bolts on this Surface.

ObstacleGrid Surface::obstacleGrid
 

The Bolts on this Surface.

Matrix Surface::pos [private]
 

The current position (in world coordinates) of the Surface 's center.


The documentation for this class was generated from the following file:
Generated on Mon Jul 7 21:13:56 2003 for Ethereal by doxygen1.2.15