#include <item.h>
Inheritance diagram for TFighterLauncher:
Public Methods | |
TFighterLauncher () | |
TFighterLauncher (const TFighterLauncher &OldFighterLauncher) | |
virtual | ~TFighterLauncher () |
virtual bool | load (TDataPackageList *in) |
virtual bool | save (TDataPackageList *out) const |
virtual TItem::tItemType | getItemType () const |
virtual void | setLaunchRate (const int2 LaunchRate) |
virtual int2 | getLaunchRate () const |
virtual void | setLandingRate (const int2 LandingRate) |
virtual int2 | getLandingRate () const |
virtual void | setRepairRate (const int2 RepairRate) |
virtual int2 | getRepairRate () const |
virtual bool | operator== (const TFighterLauncher &FighterLauncher) const |
virtual TFighterLauncher & | operator= (const TFighterLauncher &FighterLauncher) |
Protected Attributes | |
int2 | fLaunchRate |
int2 | fLandingRate |
int2 | fRepairRate |
|
This constructor generates a new TFighterLauncher 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 fighter launcher/bay, but its attributes are copied from the TFighterLauncher object given in OldFighterLauncher. This method is 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::FIGHTERLAUNCHER for fighter bay/launcher.
Reimplemented from TItem. |
|
With the method getLandingRate you can get the fighter landing rate of the fighter bay.
|
|
With the method getLaunchRate you can get the fighter launching rate of the fighter bay.
|
|
With the method getRepairRate you can get the fighter repair rate of the fighter bay.
|
|
The method Load loads a TFighterLauncher object from the data packages in the list.
Reimplemented from TItem. |
|
This is the assignment operator for TFighterLauncher. |
|
With the method operator== you can compare two TFighterLauncher objects. This is of course the expected behaviour of "operator==".
|
|
The method Save saves a TFighterLauncher object by adding the data packages to the list.
Reimplemented from TItem. |
|
The method setLandingRate sets the fighter landing rate of the fighter bay.
|
|
The method setLaunchRate sets the fighter launching rate of the fighter bay.
|
|
The method setRepairRate sets the fighter repair rate of the fighter bay.
|
|
the fighter bay's fighter landing rate |
|
the fighter bay's fighter launching rate |
|
the fighter bay's fighter repair rate |