- Timestamp:
- Oct 29, 2008, 4:13:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon/src/orxonox/objects/weaponSystem/WeaponSet.cc
r2049 r2060 38 38 namespace orxonox 39 39 { 40 WeaponSet::WeaponSet( )40 WeaponSet::WeaponSet(int k) 41 41 { 42 42 RegisterObject(WeaponSet); 43 44 for (int i=0;i<k;i++) 45 { 46 this->wSlotNew = new WeaponSlot(); 47 attachWeaponSlot(wSlotNew); 48 } 43 49 } 44 50 … … 63 69 } 64 70 71 WeaponSlot * getWeaponSlotPointer(int n) 72 { 73 return this->weaponSlots_[n]; 74 } 75 76 65 77 void WeaponSet::XMLPort(Element& xmlelement, XMLPort::Mode mode) 66 78 {
Note: See TracChangeset
for help on using the changeset viewer.