Changeset 4930 in orxonox.OLD for orxonox/trunk/src/world_entities/weapons/weapon.h
- Timestamp:
- Jul 22, 2005, 2:11:21 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapons/weapon.h
r4927 r4930 110 110 111 111 /** @param energyMax the maximum energy the Weapon can have @param energyLoadedMax the maximum energy in the weapon buffers */ 112 inline void setMaximumEnergy(float energyMax, float energyLoadedMax = 0.0) { this->energyMax = energyMax; this->energyLoadedMax = energyLoadedMax; };112 inline void setMaximumEnergy(float energyMax, float energyLoadedMax) { this->energyMax = energyMax; this->energyLoadedMax = energyLoadedMax; }; 113 113 114 114 void setActionSound(WeaponAction action, const char* soundFile); … … 185 185 186 186 bool hideInactive; //!< Hides the Weapon if it is inactive 187 bool chargeable; //!< if the Weapon is charcheable 187 bool chargeable; //!< if the Weapon is charcheable (if true, the weapon will charge before it fires.) 188 188 189 189 Projectile* projectile; //!< the projectile used for this weapon
Note: See TracChangeset
for help on using the changeset viewer.