Changeset 5769 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Nov 24, 2005, 11:18:39 PM (19 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/aiming_turret.cc
r5750 r5769 91 91 this->setMaximumEnergy(10000, 50); 92 92 this->increaseEnergy(100000); 93 //this->minCharge = 2;94 93 95 94 this->setCapability(WTYPE_ALLDIRS | WTYPE_TURRET); -
trunk/src/world_entities/weapons/bomb.cc
r5750 r5769 46 46 this->energyMin = 1; 47 47 this->energyMax = 1; 48 this->remove();49 48 this->lifeSpan = 15; 50 49 … … 146 145 void Bomb::collidesWith (WorldEntity* entity, const Vector& location) 147 146 { 148 147 this->detonate(); 149 148 } 150 149 … … 168 167 while(lm != NULL) 169 168 { 170 169 171 170 lm = it->nextElement(); 172 171 } -
trunk/src/world_entities/weapons/guided_missile.cc
r5766 r5769 48 48 this->energyMin = 1; 49 49 this->energyMax = 10; 50 this->remove();51 50 this->lifeSpan = 5; 52 51 this->agility = 5; -
trunk/src/world_entities/weapons/laser.cc
r5750 r5769 45 45 this->energyMin = 1; 46 46 this->energyMax = 10; 47 this->remove();48 47 this->lifeSpan = 1.0; 49 48 -
trunk/src/world_entities/weapons/projectile.cc
r5766 r5769 40 40 this->target = NULL; 41 41 42 this->remove ();42 this->removeNode(); 43 43 } 44 44 -
trunk/src/world_entities/weapons/rocket.cc
r5693 r5769 46 46 this->energyMin = 1; 47 47 this->energyMax = 10; 48 this->remove();49 48 this->lifeSpan = 2; 50 49 … … 116 115 ParticleEngine::getInstance()->addConnection(this->emitter, Rocket::trailParticles); 117 116 118 this->update (0);117 this->updateNode(0); 119 118 this->emitter->setEmissionRate(45.0); 120 119 this->emitter->setEmissionVelocity(0.0); -
trunk/src/world_entities/weapons/test_bullet.cc
r5511 r5769 46 46 this->energyMin = 1; 47 47 this->energyMax = 10; 48 this->remove();49 48 this->lifeSpan = 2; 50 49
Note: See TracChangeset
for help on using the changeset viewer.