Changeset 6306 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.h
- Timestamp:
- Dec 26, 2005, 2:27:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.h
r6054 r6306 136 136 /** @param energyMax the maximum energy the Weapon can have @param energyLoadedMax the maximum energy in the weapon buffers */ 137 137 inline void setMaximumEnergy(float energyMax, float energyLoadedMax) { this->energyMax = energyMax; this->energyLoadedMax = energyLoadedMax; }; 138 inline float getLoadedEnergyMax() const { return this->energyLoadedMax; }; 139 inline float getEnergyMax() const { return this->energyMax; }; 140 inline float getEnergy() const { return this->energy; }; 141 inline float getLoadedEnergy() const { return this->energyLoaded; }; 138 142 139 143 void setActionSound(WeaponAction action, const char* soundFile);
Note: See TracChangeset
for help on using the changeset viewer.