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

World Class Reference

Represents a world consisting of a bridge, a horizon and a train. More...

#include <world.h>

List of all members.

Public Member Functions

bool loadFromFile (char *filename)
 Loads the bridge from a file.
bool saveToFile (char *filename)
 Saves the current bridge to a file.

Public Attributes

Bridge bridge
 The bridge.
vector< vertexhorizon
 The horizon.
Train train
 The Train.


Detailed Description

Represents a world consisting of a bridge, a horizon and a train.


Member Function Documentation

bool World::loadFromFile char *  filename  ) 
 

Loads the bridge from a file.

Parameters:
filename the filename

bool World::saveToFile char *  filename  ) 
 

Saves the current bridge to a file.

Parameters:
filename the filename


The documentation for this class was generated from the following files:
Generated on Sun Jul 10 22:32:04 2005 for S12 by  doxygen 1.4.2