- Timestamp:
- Nov 12, 2008, 12:50:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/Weapon.h
r2145 r2186 48 48 virtual void fire(); 49 49 void reloaded(); 50 virtual void attachNeededMunition(Munition *PointerToMunition); 50 virtual void setParentWeaponSystem(); 51 void attachNeededMunition(Munition *munitionPointer); 51 52 52 53 inline void setParentWeaponSlot(WeaponSlot *parentWeaponSlot) … … 55 56 { return parentWeaponSlot_; }; 56 57 57 //void setParentWeaponSystem(); 58 59 58 60 59 61 private: … … 62 64 Munition *pointerToMunition_; 63 65 WeaponSlot *parentWeaponSlot_; 64 //WeaponSystem *parentWeaponSystem_;66 WeaponSystem *parentWeaponSystem_; 65 67 Timer<Weapon> reloadTimer_; 66 68
Note: See TracChangeset
for help on using the changeset viewer.