- Timestamp:
- Apr 8, 2009, 12:58:47 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/orxonox/objects/weaponSystem/weapons/LaserGun.cc
r2907 r2908 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 65 55 void LaserGun::takeBullets() 66 56 { 57 //COUT(0) << "LaserGun::takeBullets" << std::endl; 67 58 this->munition_->removeBullets(1); 59 this->bulletTimer(this->bulletLoadingTime_); 68 60 } 69 61 … … 71 63 { 72 64 this->munition_->removeMagazines(1); 65 this->magazineTimer(this->magazineLoadingTime_); 73 66 } 74 67 75 68 void LaserGun::createProjectile() 76 69 { 70 //COUT(0) << "LaserGun::createProjectile" << std::endl; 77 71 BillboardProjectile* projectile = new ParticleProjectile(this); 78 72 projectile->setOrientation(this->getWorldOrientation());
Note: See TracChangeset
for help on using the changeset viewer.