Track::TrackBooster Class Reference

A booster attached to the track. More...

#include <TrackBooster.h>

Inheritance diagram for Track::TrackBooster:

Track::TrackAttachment Track::UniqueIdentifier Track::Savable List of all members.

Public Member Functions

 TrackBooster (std::istream &source)
 TrackBooster ()
virtual ~TrackBooster ()
virtual std::string get_class_identifier () const
 Return the string used to identify the class.
virtual void draw () const
 Draw the attachment.
virtual void add_data (std::ostream &stream) const
 Write the data needed to reconstruct the object to a stream.

Detailed Description

A booster attached to the track.

Definition at line 23 of file TrackBooster.h.


Constructor & Destructor Documentation

Track::TrackBooster::TrackBooster ( std::istream &  source  ) 

Definition at line 29 of file TrackBooster.cpp.

Track::TrackBooster::TrackBooster (  ) 

Definition at line 39 of file TrackBooster.cpp.

Track::TrackBooster::~TrackBooster (  )  [virtual]

Definition at line 43 of file TrackBooster.cpp.


Member Function Documentation

void Track::TrackBooster::add_data ( std::ostream &  stream  )  const [virtual]

Write the data needed to reconstruct the object to a stream.

Reimplemented from Track::TrackAttachment.

Definition at line 55 of file TrackBooster.cpp.

void Track::TrackBooster::draw (  )  const [virtual]

Draw the attachment.

The modelview matrix should be set so that the position using the above and the associated edge is the origin of the modelview matrix.

Reimplemented from Track::TrackAttachment.

Definition at line 47 of file TrackBooster.cpp.

std::string Track::TrackBooster::get_class_identifier (  )  const [virtual]

Return the string used to identify the class.

This is the same string as the associated ClassLoaderBase uses. The return value should be the same for each instance of the class.

Reimplemented from Track::TrackAttachment.

Definition at line 22 of file TrackBooster.cpp.


The documentation for this class was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:19 2010 by Doxygen version 1.4.7 for Racer version svn335.