Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List

Packet Class Reference

Packet. More...

#include <Packet.h>

Inheritance diagram for Packet:

Inheritance graph
[legend]
Collaboration diagram for Packet:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Packet (const CargoHolder &source, long speed, long driverSpeed, Planet *destination)
virtual bool ParseNode (const TiXmlNode *node)
virtual TiXmlNode * WriteNode (TiXmlNode *node, const Player *viewer) const
bool IsEmpty () const
virtual long GetCargoCapacity () const
virtual long GetCloak (const Player *, bool) const
virtual double GetMaxTachyon () const
virtual long GetScanPen () const
virtual long GetScanSpace () const
virtual void SetCanLoadBy (const Player *)
virtual bool CanLoadBy (const Player *) const
long GetSpeed () const
long GetDriverSpeed () const
PlanetGetDestination ()
bool Move (bool FirstYear)

Private Member Functions

void Collide ()
void Decay (long distance)

Private Attributes

long mSpeed
long mDriverSpeed
long mMaxSize
PlanetmDestination
bool mFirstYear

Detailed Description

Packet.

A packet is a hunk of minerals thrown at another planet, where it is then caught and recovered.

Definition at line 43 of file Packet.h.


The documentation for this class was generated from the following files:
Generated on Mon Aug 8 21:34:58 2005 for Freestars by  doxygen 1.4.2-20050421