35 #ifndef _MunitionContainer_H__ 36 #define _MunitionContainer_H__ 58 {
return this->munitionName_; }
60 {
return this->munitionAmount_; }
62 {
return this->magazinesAmount_; }
64 {
return munitionType_; }
67 void setMunitionName(
const std::string& munitionName);
68 void setMunitionAmount(
int munitionAmount);
69 void setMagazinesAmount(
int magazinesAmount_);
80 #endif // _MunitionContainer_H__ The BaseObject is the parent of all classes representing an instance in the game. ...
Definition: BaseObject.h:63
Definition of SubclassIdentifier.
#define _PickupExport
Definition: PickupPrereqs.h:60
Declaration of the Pickup class.
::std::string string
Definition: gtest-port.h:756
Definition: MunitionContainer.h:48
int getMunitionAmount() const
Definition: MunitionContainer.h:59
SubclassIdentifier< Munition > getMunitionType() const
Definition: MunitionContainer.h:63
const std::string & getMunitionName() const
Definition: MunitionContainer.h:57
xmlelement
Definition: Super.h:519
int munitionAmount_
The amount of singe bullets added.
Definition: MunitionContainer.h:74
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
std::string munitionName_
String containing the class name of the munition type (e.g. "LaserMunition")
Definition: MunitionContainer.h:73
Mode
Definition: CorePrereqs.h:102
int getMagazinesAmount() const
Definition: MunitionContainer.h:61
SubclassIdentifier< Munition > munitionType_
Indentifier of the munition type.
Definition: MunitionContainer.h:72
Shared library macros, enums, constants and forward declarations for the questsystem module ...
The SubclassIdentifier acts almost like an Identifier, but has some prerequisites.
Definition: SubclassIdentifier.h:90
int magazinesAmount_
The amount of full magazines added.
Definition: MunitionContainer.h:75