Changeset 7095 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Feb 7, 2006, 5:36:27 PM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/space_ship.cc
r7092 r7095 252 252 void SpaceShip::setAbsDirPlay(const Quaternion& quat) 253 253 { 254 this->mouseDir = Quaternion(quat);254 this->mouseDir = quat; 255 255 } 256 256 -
trunk/src/world_entities/weapons/test_gun.cc
r7084 r7095 123 123 this->setStateDuration(WS_DEACTIVATING, .4); 124 124 125 this->setEnergyMax(1000 );126 this->increaseEnergy(1000 );125 this->setEnergyMax(100000); 126 this->increaseEnergy(100000); 127 127 //this->minCharge = 2; 128 128 -
trunk/src/world_entities/world_entity.h
r7085 r7095 98 98 99 99 protected: 100 void setHealth(float health) { this->health = health; };100 void setHealth(float health) { this->health = health; this->updateHealthWidget();}; 101 101 void setHealthWidgetVisibilit(bool visibility); 102 102 void setHealthMax(float healthMax);
Note: See TracChangeset
for help on using the changeset viewer.