Last change
on this file since 9697 was
9686,
checked in by bensch, 18 years ago
|
new_class_id: many more classes done
|
File size:
677 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 | NewObjectListDeclaration(SparkParticles); |
---|
16 | |
---|
17 | public: |
---|
18 | SparkParticles(unsigned int maxCount = PARTICLE_DEFAULT_MAX_COUNT); |
---|
19 | SparkParticles(const TiXmlElement* root); |
---|
20 | virtual ~SparkParticles(); |
---|
21 | |
---|
22 | virtual void loadParams(const TiXmlElement* root); |
---|
23 | |
---|
24 | virtual void draw() const; |
---|
25 | |
---|
26 | private: |
---|
27 | void init(); |
---|
28 | |
---|
29 | private: |
---|
30 | Material material; //!< A Material for all the Particles. |
---|
31 | }; |
---|
32 | |
---|
33 | #endif /* _SPARK_PARTICLE_SYSTEM_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.