#include <item.h>
Inheritance diagram for TColonizer:
Public Methods | |
TColonizer () | |
TColonizer (const TColonizer &OldColonizer) | |
virtual | ~TColonizer () |
virtual bool | load (TDataPackageList *in) |
virtual bool | save (TDataPackageList *out) const |
virtual TItem::tItemType | getItemType () const |
virtual bool | operator== (const TColonizer &Colonizer) const |
virtual TColonizer & | operator= (const TColonizer &Colonizer) |
|
This constructor generates a new TColonizer object with all properties resetted. This means you have to set all properties like name and mass afterwards with help of the respective set<something> methods. |
|
This constructor creates also a new TColonizer object, but the attributes are copied from the TColonizer object given in OldColonizer. Mostly implemented to provide a copy constructor.
|
|
Destructs the object. Has nothing else to do, because no memory has to be freed or similar stuff. |
|
The method getItemType returns the type of the item, in this case TItem::COLONIZER for colonization module.
Reimplemented from TItem. |
|
The method Load loads a TColonizer object from the data packages in the list.
Reimplemented from TItem. |
|
This is the assignment operator for TColonizer. |
|
With the method operator== you can compare two TColonizer objects. This is of course the behaviour one would expect from "operator==".
|
|
The method Save saves a TColonizer object by adding the data packages to the list.
Reimplemented from TItem. |