- Timestamp:
- Nov 5, 2008, 7:57:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/Weapon.cc
r2098 r2145 35 35 #include "Weapon.h" 36 36 37 37 38 namespace orxonox 38 39 { … … 40 41 { 41 42 RegisterObject(Weapon); 42 43 this->loadingTime_ = 0; 44 this->munition_ = 0; 43 this->weaponReadyToShoot_ = true; 44 //this->setParentWeaponSystem(); 45 45 46 46 } … … 50 50 } 51 51 52 void Weapon::addMunition()53 {54 55 }56 52 57 53 void Weapon::XMLPort(Element& xmlelement, XMLPort::Mode mode) … … 64 60 65 61 } 62 63 void Weapon::reloaded() 64 { 65 this->weaponReadyToShoot_ = true; 66 } 67 68 void Weapon::attachNeededMunition(Munition *PointerToMunition) 69 { 70 71 } 72 /* 73 void Weapon::setParentWeaponSystem() 74 { 75 this->parentWeaponSystem_ = this->parentWeaponSlot_->parentWeaponSet_->parentWeaponSystem_; 76 } 77 */ 78 66 79 }
Note: See TracChangeset
for help on using the changeset viewer.