30 #ifndef _WeaponSet_H__ 31 #define _WeaponSet_H__ 51 void setWeaponmodeLink(
WeaponPack* weaponpack,
unsigned int weaponmode);
52 void removeWeaponmodeLink(
WeaponPack* weaponpack);
53 unsigned int getWeaponmodeLink(
WeaponPack* weaponpack);
56 { this->desiredFiremode_ = firemode; }
58 {
return this->desiredFiremode_; }
61 { this->weaponSystem_ = weaponSystem; }
63 {
return this->weaponSystem_; }
The BaseObject is the parent of all classes representing an instance in the game. ...
Definition: BaseObject.h:63
void setWeaponSystem(WeaponSystem *weaponSystem)
Definition: WeaponSet.h:60
std::map< WeaponPack *, unsigned int > weaponpacks_
Definition: WeaponSet.h:68
Definition: WeaponSet.h:40
WeaponSystem * weaponSystem_
Definition: WeaponSet.h:66
An orxonox::Pawn that is able to fire weapons always need to have a WeaponSystem. ...
Definition: WeaponSystem.h:47
xmlelement
Definition: Super.h:519
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Mode
Definition: CorePrereqs.h:102
Definition: WeaponPack.h:40
Shared library macros, enums, constants and forward declarations for the orxonox library ...
unsigned int desiredFiremode_
Definition: WeaponSet.h:67
Declaration of BaseObject, the base class of all objects in Orxonox.
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
unsigned int getDesiredFiremode() const
Definition: WeaponSet.h:57
WeaponSystem * getWeaponSystem() const
Definition: WeaponSet.h:62
void setDesiredFiremode(const unsigned int firemode)
Definition: WeaponSet.h:55