Last change
on this file since 6695 was
6623,
checked in by bensch, 19 years ago
|
orxonox/trunk: particle Systems and Emitters are loaded and cleaned up nicely
|
File size:
633 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file spark_particles.h |
---|
3 | |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _SPARK_PARTICLE_SYSTEM_H |
---|
7 | #define _SPARK_PARTICLE_SYSTEM_H |
---|
8 | |
---|
9 | #include "particle_system.h" |
---|
10 | #include "material.h" |
---|
11 | |
---|
12 | //! A class to handle ParticleSystems |
---|
13 | class SparkParticles : public ParticleSystem |
---|
14 | { |
---|
15 | |
---|
16 | public: |
---|
17 | SparkParticles(unsigned int maxCount = PARTICLE_DEFAULT_MAX_COUNT); |
---|
18 | SparkParticles(const TiXmlElement* root); |
---|
19 | virtual ~SparkParticles(); |
---|
20 | |
---|
21 | virtual void loadParams(const TiXmlElement* root); |
---|
22 | |
---|
23 | virtual void draw() const; |
---|
24 | |
---|
25 | private: |
---|
26 | void init(); |
---|
27 | |
---|
28 | private: |
---|
29 | Material material; //!< A Material for all the Particles. |
---|
30 | }; |
---|
31 | |
---|
32 | #endif /* _SPARK_PARTICLE_SYSTEM_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.