Changeset 10022 in orxonox.OLD for branches/playability/src/world_entities/space_ships/space_ship.h
- Timestamp:
- Dec 6, 2006, 2:38:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.h
r10020 r10022 83 83 void weaponRegen(float time); //!< weapon energy regeneration 84 84 85 inline bool systemFailure() ;85 inline bool systemFailure() { return (this->electronicCur < float(rand())/float(RAND_MAX) * this->electronicTH); }; 86 86 87 87 //WeaponManager weaponMan; //!< the primary weapon manager: managing a list of energy weapons to wepaon-slot mapping
Note: See TracChangeset
for help on using the changeset viewer.