source:
orxonox.OLD/trunk/src/lib/particles/spark_particles.h
@
6768
Last change on this file since 6768 was 6623, checked in by bensch, 19 years ago | |
---|---|
File size: 633 bytes |
Rev | Line | |
---|---|---|
[4597] | 1 | /*! |
[6623] | 2 | * @file spark_particles.h |
[3329] | 3 | |
[3245] | 4 | */ |
[1853] | 5 | |
[6623] | 6 | #ifndef _SPARK_PARTICLE_SYSTEM_H |
7 | #define _SPARK_PARTICLE_SYSTEM_H | |
[1853] | 8 | |
[6621] | 9 | #include "particle_system.h" |
10 | #include "material.h" | |
[4377] | 11 | |
[6621] | 12 | //! A class to handle ParticleSystems |
[6623] | 13 | class SparkParticles : public ParticleSystem |
[4597] | 14 | { |
[3930] | 15 | |
[6621] | 16 | public: |
[6623] | 17 | SparkParticles(unsigned int maxCount = PARTICLE_DEFAULT_MAX_COUNT); |
18 | SparkParticles(const TiXmlElement* root); | |
19 | virtual ~SparkParticles(); | |
[3930] | 20 | |
[6512] | 21 | virtual void loadParams(const TiXmlElement* root); |
[4602] | 22 | |
[4746] | 23 | virtual void draw() const; |
[3931] | 24 | |
[6621] | 25 | private: |
26 | void init(); | |
[3938] | 27 | |
[6621] | 28 | private: |
29 | Material material; //!< A Material for all the Particles. | |
[1853] | 30 | }; |
31 | ||
[6623] | 32 | #endif /* _SPARK_PARTICLE_SYSTEM_H */ |
Note: See TracBrowser
for help on using the repository browser.