Changeset 6438 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.h
- Timestamp:
- Jan 8, 2006, 1:51:55 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.h
r6435 r6438 24 24 class FastFactory; 25 25 template<class T> class tFastFactory; 26 class GLGuiWidget; 26 27 27 28 //! An enumerator defining Actions a Weapon can take … … 148 149 Animation3D* copyAnimation(WeaponState from, WeaponState to); 149 150 151 GLGuiWidget* getEnergyWidget(); 152 GLGuiWidget* getMaxEnergyWidget(); 153 150 154 // FLOW 151 155 void tick(float dt); //!< this is a function that must be called by the weaponManager, or any other weaponHandler, all other functions are handled from within … … 183 187 bool fireW(); 184 188 bool reloadW(); 185 186 189 inline void enterState(WeaponState state); 187 190 191 void updateWidgets(); 188 192 189 193 private: … … 200 204 float maxCharge; //!< The maximal energy to be loaded onto one projectile (this is only availible if chargeable is enabled) 201 205 206 GLGuiBar* energyWidget; 207 GLGuiBar* energyLoadedWidget; 208 202 209 //////////// 203 210 // PHASES //
Note: See TracChangeset
for help on using the changeset viewer.