Changeset 11108 for code/trunk/src/modules/weapons/weaponmodes/LaserFire.cc
- Timestamp:
- Feb 4, 2016, 11:54:04 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/weapons/weaponmodes/LaserFire.cc
r11052 r11108 41 41 #include "worldentities/pawns/Pawn.h" 42 42 43 #include "weapons/projectiles/ ParticleProjectile.h"43 #include "weapons/projectiles/BillboardProjectile.h" 44 44 45 45 namespace orxonox … … 56 56 57 57 this->setMunitionName("LaserMunition"); 58 this->setFireSound("sounds/Weapon_LaserFire.ogg"); 59 this->setReloadSound("sounds/Reload_LaserFire.ogg", 0.8); 58 60 59 61 hudImageString_ = "Orxonox/WSHUD_WM_LaserFire"; … … 66 68 void LaserFire::fire() 67 69 { 68 ParticleProjectile* projectile = new ParticleProjectile(this->getContext());70 BillboardProjectile* projectile = new BillboardProjectile(this->getContext()); 69 71 70 72 this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition());
Note: See TracChangeset
for help on using the changeset viewer.