Changeset 9966 in orxonox.OLD for branches/playability/src/world_entities/weapons
- Timestamp:
- Nov 29, 2006, 10:04:35 AM (18 years ago)
- Location:
- branches/playability/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/weapon.cc
r9869 r9966 378 378 { 379 379 this->energy += energyToAdd; 380 this->updateWidgets(); 380 381 return 0.0; 381 382 } … … 383 384 { 384 385 this->energy += maxAddEnergy; 386 this->updateWidgets(); 385 387 return energyToAdd - maxAddEnergy; 386 388 } 389 387 390 } 388 391 -
branches/playability/src/world_entities/weapons/weapon.h
r9965 r9966 170 170 void debug() const; 171 171 172 void updateWidgets();172 173 173 174 174 protected: … … 202 202 inline void enterState(WeaponState state); 203 203 204 204 void updateWidgets(); 205 205 206 206 private:
Note: See TracChangeset
for help on using the changeset viewer.