Changeset 2893 for code/trunk/src/orxonox/objects/weaponSystem/weapons
- Timestamp:
- Apr 5, 2009, 11:27:54 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/weaponsystem (added) merged: 2743,2778,2804,2852,2886
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/objects/weaponSystem/weapons/LaserGun.cc
r2662 r2893 53 53 } 54 54 55 void LaserGun::reloadBullet() 56 { 57 this->bulletTimer(this->bulletLoadingTime_); 58 } 59 60 void LaserGun::reloadMagazine() 61 { 62 this->magazineTimer(this->magazineLoadingTime_); 63 } 64 55 65 void LaserGun::takeBullets() 56 66 { 57 //COUT(0) << "LaserGun::takeBullets" << std::endl;58 67 this->munition_->removeBullets(1); 59 this->bulletTimer(this->bulletLoadingTime_);60 68 } 61 69 … … 63 71 { 64 72 this->munition_->removeMagazines(1); 65 this->magazineTimer(this->magazineLoadingTime_);66 73 } 67 74 68 75 void LaserGun::createProjectile() 69 76 { 70 //COUT(0) << "LaserGun::createProjectile" << std::endl;71 77 BillboardProjectile* projectile = new ParticleProjectile(this); 72 78 projectile->setOrientation(this->getWorldOrientation()); -
code/trunk/src/orxonox/objects/weaponSystem/weapons/LaserGun.h
r2662 r2893 51 51 virtual void takeMagazines(); 52 52 virtual void createProjectile(); 53 virtual void reloadBullet(); 54 virtual void reloadMagazine(); 53 55 54 56 private:
Note: See TracChangeset
for help on using the changeset viewer.