source:
orxonox.OLD/trunk/src/world_entities/particles/spark_particles.h
@
9869
Last change on this file since 9869 was 9869, checked in by bensch, 18 years ago | |
---|---|
File size: 674 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 | { |
[9715] | 15 | ObjectListDeclaration(SparkParticles); |
[3930] | 16 | |
[6621] | 17 | public: |
[6623] | 18 | SparkParticles(unsigned int maxCount = PARTICLE_DEFAULT_MAX_COUNT); |
19 | SparkParticles(const TiXmlElement* root); | |
20 | virtual ~SparkParticles(); | |
[3930] | 21 | |
[6512] | 22 | virtual void loadParams(const TiXmlElement* root); |
[4602] | 23 | |
[4746] | 24 | virtual void draw() const; |
[3931] | 25 | |
[6621] | 26 | private: |
27 | void init(); | |
[3938] | 28 | |
[6621] | 29 | private: |
30 | Material material; //!< A Material for all the Particles. | |
[1853] | 31 | }; |
32 | ||
[6623] | 33 | #endif /* _SPARK_PARTICLE_SYSTEM_H */ |
Note: See TracBrowser
for help on using the repository browser.