Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7095 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Feb 7, 2006, 5:36:27 PM (19 years ago)
Author:
bensch
Message:

should work now

Location:
trunk/src/world_entities
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/space_ship.cc

    r7092 r7095  
    252252void SpaceShip::setAbsDirPlay(const Quaternion& quat)
    253253{
    254   this->mouseDir = Quaternion(quat);
     254  this->mouseDir = quat;
    255255}
    256256
  • trunk/src/world_entities/weapons/test_gun.cc

    r7084 r7095  
    123123  this->setStateDuration(WS_DEACTIVATING, .4);
    124124
    125   this->setEnergyMax(1000);
    126   this->increaseEnergy(1000);
     125  this->setEnergyMax(100000);
     126  this->increaseEnergy(100000);
    127127  //this->minCharge = 2;
    128128
  • trunk/src/world_entities/world_entity.h

    r7085 r7095  
    9898
    9999protected:
    100   void setHealth(float health) { this->health = health; };
     100  void setHealth(float health) { this->health = health; this->updateHealthWidget();};
    101101  void setHealthWidgetVisibilit(bool visibility);
    102102  void setHealthMax(float healthMax);
Note: See TracChangeset for help on using the changeset viewer.