Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 8, 2006, 12:52:23 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: projectile inherits Energies from WorldEntity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/guided_missile.cc

    r6426 r6431  
    4141  this->loadModel("models/projectiles/orx-rocket.obj", .3);
    4242
    43   this->energyMin = 1;
    44   this->energyMax = 10;
     43  this->setMinEnergy(1);
     44  this->setMaxEnergy(10);
    4545  this->lifeSpan = 10.0;
    4646  this->agility = 500;
     
    146146{
    147147
    148  
     148
    149149if (this->target != NULL && this->target->getParent() != PNode::getNullParent())
    150150   {
Note: See TracChangeset for help on using the changeset viewer.