- Timestamp:
- Aug 22, 2011, 3:05:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/weapons/projectiles/LightningGunProjectile.h
r5929 r8855 27 27 */ 28 28 29 /** 30 @file LightningGunProjectile.h 31 @brief Definition of the LightningGunProjectile class. 32 */ 33 29 34 #ifndef _LightningGunProjectile_H__ 30 35 #define _LightningGunProjectile_H__ … … 38 43 namespace orxonox 39 44 { 45 46 /** 47 @brief 48 The LightningGunProjectile is a projectile that is represented by a looped series of billboards. 49 50 @author 51 Joel Smely 52 @ingroup WeaponsProjectiles 53 */ 40 54 class _WeaponsExport LightningGunProjectile : public BillboardProjectile 41 55 { … … 46 60 virtual void setMaterial(const std::string& material); 47 61 48 protected: 62 private: 63 void registerVariables(); 49 64 void changeTexture(); 50 unsigned int textureIndex_; 51 unsigned int maxTextureIndex_; 52 Timer textureTimer_; 53 std::string materialBase_; 54 private: 55 void registerVariables(); 65 66 unsigned int textureIndex_; //!< The current index of the texture. (i.e. the index of the currently displayed texture) 67 unsigned int maxTextureIndex_; //!< The maximal index. 68 Timer textureTimer_; //!< A timer that loops and changes textures each time it expires. 69 std::string materialBase_; //!< The base name of the material. 56 70 }; 57 71 }
Note: See TracChangeset
for help on using the changeset viewer.