Changeset 6623 in orxonox.OLD for trunk/src/lib/particles/spark_particles.h
- Timestamp:
- Jan 20, 2006, 12:54:20 AM (18 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/spark_particles.h
r6622 r6623 1 1 /*! 2 * @file particle_system.h2 * @file spark_particles.h 3 3 4 4 */ 5 5 6 #ifndef _SP RITE_PARTICLE_SYSTEM_H7 #define _SP RITE_PARTICLE_SYSTEM_H6 #ifndef _SPARK_PARTICLE_SYSTEM_H 7 #define _SPARK_PARTICLE_SYSTEM_H 8 8 9 9 #include "particle_system.h" … … 11 11 12 12 //! A class to handle ParticleSystems 13 class Sp riteParticles : public ParticleSystem13 class SparkParticles : public ParticleSystem 14 14 { 15 15 16 16 public: 17 Sp riteParticles(unsigned int maxCount = PARTICLE_DEFAULT_MAX_COUNT);18 Sp riteParticles(const TiXmlElement* root);19 virtual ~Sp riteParticles();17 SparkParticles(unsigned int maxCount = PARTICLE_DEFAULT_MAX_COUNT); 18 SparkParticles(const TiXmlElement* root); 19 virtual ~SparkParticles(); 20 20 21 21 virtual void loadParams(const TiXmlElement* root); 22 22 23 void setMaterial(Material* material);24 void setMaterialTexture(const char* textureFile);25 26 /** @returns the Material that lies on this particles */27 inline const Material* getMaterial() const { return &this->material; };28 29 23 virtual void draw() const; 30 31 void debug() const;32 24 33 25 private: … … 38 30 }; 39 31 40 #endif /* _SP RITE_PARTICLE_SYSTEM_H */32 #endif /* _SPARK_PARTICLE_SYSTEM_H */
Note: See TracChangeset
for help on using the changeset viewer.