Changeset 2104 for code/trunk/src/orxonox/objects/weaponSystem
- Timestamp:
- Nov 2, 2008, 12:53:39 AM (16 years ago)
- Location:
- code/trunk/src/orxonox/objects/weaponSystem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/weaponSystem/WeaponSet.h
r2098 r2104 46 46 virtual ~WeaponSet(); 47 47 48 virtual void WeaponSet::XMLPort(Element& xmlelement, XMLPort::Mode mode);48 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 49 49 50 void WeaponSet::attachWeaponSlot(WeaponSlot *wSlot);51 void WeaponSet::fire();50 void attachWeaponSlot(WeaponSlot *wSlot); 51 void fire(); 52 52 WeaponSlot * getWeaponSlotPointer(unsigned int n); 53 53 54 inline void WeaponSet::setParentWeaponSystem(WeaponSystem *parentWeaponSystem)54 inline void setParentWeaponSystem(WeaponSystem *parentWeaponSystem) 55 55 { parentWeaponSystem_=parentWeaponSystem; } 56 56 inline WeaponSystem * getParentWeaponSystem() -
code/trunk/src/orxonox/objects/weaponSystem/WeaponSlot.h
r2097 r2104 52 52 void fire(); 53 53 54 inline void WeaponSlot::setParentWeaponSet(WeaponSet *parentWeaponSet)54 inline void setParentWeaponSet(WeaponSet *parentWeaponSet) 55 55 { parentWeaponSet_=parentWeaponSet; } 56 56 inline WeaponSet * getParentWeaponSet()
Note: See TracChangeset
for help on using the changeset viewer.