- Timestamp:
- Dec 3, 2008, 4:30:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/Weapon.h
r2272 r2327 52 52 virtual void fire(); 53 53 void attachNeededMunition(std::string munitionType); 54 virtual void setParentWeaponSystem();55 54 Munition * getAttachedMunition(); 56 55 … … 72 71 73 72 inline void setParentWeaponSlot(WeaponSlot *parentWeaponSlot) 74 { parentWeaponSlot_=parentWeaponSlot; };73 { this->parentWeaponSlot_=parentWeaponSlot; }; 75 74 inline WeaponSlot * getParentWeaponSlot() 76 { return parentWeaponSlot_; }; 75 { return this->parentWeaponSlot_; }; 76 inline void setParentWeaponSystem(WeaponSystem *parentWeaponSystem) 77 { this->parentWeaponSystem_=parentWeaponSystem; }; 78 inline WeaponSystem * getParentWeaponSystem() 79 { return this->parentWeaponSystem_; }; 77 80 78 81 private:
Note: See TracChangeset
for help on using the changeset viewer.