Changeset 10229 in orxonox.OLD for branches/playability
- Timestamp:
- Jan 10, 2007, 6:47:42 PM (18 years ago)
- Location:
- branches/playability/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/spike_ball.cc
r10224 r10229 48 48 49 49 this->setMinEnergy(1); 50 this->setHealthMax( 0);50 this->setHealthMax(1); 51 51 this->lifeSpan = 1.0; 52 52 … … 76 76 this->weaponMan->addWeapon(cannon, 0, 0); 77 77 this->weaponMan->changeWeaponConfig(0); 78 79 this->weaponMan->getWeapon(0)->increaseEnergy(50); 78 80 } 79 81 -
branches/playability/src/world_entities/weapons/weapon.cc
r10152 r10229 586 586 bool Weapon::fireW() 587 587 { 588 printf("fireW Weapon\n"); 588 589 //if (likely(this->currentState != WS_INACTIVE)) 589 590 if (this->minCharge <= this->energy)
Note: See TracChangeset
for help on using the changeset viewer.