Changeset 4910 in orxonox.OLD for orxonox/trunk/src/world_entities/weapons/weapon.h
- Timestamp:
- Jul 20, 2005, 11:26:16 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapons/weapon.h
r4906 r4910 157 157 158 158 protected: 159 SoundSource* soundSource; //!< A SoundSource to play sound from (this is connected to the PNode of the Weapon)160 159 // it is all about energy 161 160 float energy; //!< The energy stored in the weapons secondary buffers (reserve) … … 163 162 float energyMax; //!< The maximal energy that can be stored in the secondary buffers (reserveMax) 164 163 float energyLoadedMax; //!< The maximal energy that can be stored in the primary buffers 164 //! @todo move this to projectile 165 165 float minCharge; //!< The minimal energy to be loaded onto one projectile if chargeable otherwise the power consumed by one projectile 166 166 float maxCharge; //!< The maximal energy to be loaded onto one projectile (this is only availible if chargeable is enabled) … … 170 170 //////////// 171 171 private: 172 SoundSource* soundSource; //!< A SoundSource to play sound from (this is connected to the PNode of the Weapon) 173 172 174 WeaponState currentState; //!< The State the weapon is in. 173 175 WeaponAction requestedAction; //!< An action to try to Engage after the currentState ends.
Note: See TracChangeset
for help on using the changeset viewer.