#include <item.h>
Inheritance diagram for TJammerNormal:
Public Methods | |
TJammerNormal () | |
TJammerNormal (const TJammerNormal &OldJammerNormal) | |
virtual | ~TJammerNormal () |
virtual bool | load (TDataPackageList *in) |
virtual bool | save (TDataPackageList *out) const |
virtual TJammer::tJammerType | getJammerType () const |
virtual bool | operator== (const TJammerNormal &JammerNormal) const |
virtual TJammerNormal & | operator= (const TJammerNormal &JammerNormal) |
|
This constructor generates a new TJammerNormal 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 normal jammer, but its attributes are copied from the TJammerNormal object given in OldJammerNormal. 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. |
|
With the method getJammerType you can get the type of the jammer, in this case TJammer::NORMAL.
Reimplemented from TJammer. |
|
The method Load loads a TJammerNormal object from the data packages in the list.
Reimplemented from TJammer. |
|
This is the assignment operator for TJammerNormal. |
|
This is the compare operator for TJammerNormal.
|
|
The method Save saves a TJammerNormal object by adding the data packages to the list.
Reimplemented from TJammer. |