Changeset 9958 in orxonox.OLD for branches/playability/src/world_entities/space_ships/space_ship.h
- Timestamp:
- Nov 26, 2006, 12:31:01 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.h
r9957 r9958 2 2 * @file space_ship.h 3 3 * Implements the Control of a Spaceship 4 * Space Ships are the core class for all types of ships in Orxonox 4 5 */ 5 6 … … 57 58 inline float getElectronicMax() { return this->electronicMax; }; //!< returns current electronic value 58 59 60 inline int getFiredWeapon() { return this->firedWeapon; }; //!< returns index of the fired weapon 61 59 62 //damage handler 60 63 virtual void damage(float pDamage, float eDamage); //!< pDamage physical damage, eDamage electronic damage … … 95 98 int reactorCapacity; //!< reactor capacity 96 99 100 101 int curWeaponPrimary; //!< current primary weapon 102 int curWeaponSecondary; //!< current secondary weapon 103 int firedWeapon; //!< index of the fired weapon for the weapon manager 104 97 105 bool bUp; //!< up button pressed. 98 106 bool bDown; //!< down button pressed.
Note: See TracChangeset
for help on using the changeset viewer.