29 #ifndef _WeaponSlot_H__ 30 #define _WeaponSlot_H__ 67 void attachWeapon(
Weapon * weapon);
70 {
return this->weapon_; }
77 {
return (this->weapon_ !=
nullptr); }
80 { this->weaponSystem_ = weaponSystem; }
82 {
return this->weaponSystem_; }
The a WeaponSlot defines where a Weapon is placed on a pawn.
Definition: WeaponSlot.h:59
Weapon * weapon_
Definition: WeaponSlot.h:87
The StaticEntity is the simplest derivative of the orxonox::WorldEntity class.
Definition: StaticEntity.h:50
WeaponSystem * weaponSystem_
Definition: WeaponSlot.h:86
WeaponSystem * getWeaponSystem() const
Definition: WeaponSlot.h:81
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
A Weapon is a StaticEntity that can be attached to a WeaponSlot.
Definition: Weapon.h:46
Shared library macros, enums, constants and forward declarations for the orxonox library ...
bool isOccupied() const
Checks whether there is a Weapon attached to this WeaponSlot.
Definition: WeaponSlot.h:76
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
Weapon * getWeapon() const
Definition: WeaponSlot.h:69
void setWeaponSystem(WeaponSystem *weaponSystem)
Definition: WeaponSlot.h:79