#include <Packet.h>
Inheritance diagram for Packet:
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 |
Planet * | GetDestination () |
bool | Move (bool FirstYear) |
Private Member Functions | |
void | Collide () |
void | Decay (long distance) |
Private Attributes | |
long | mSpeed |
long | mDriverSpeed |
long | mMaxSize |
Planet * | mDestination |
bool | mFirstYear |
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.