Last change
on this file since 3930 was
3930,
checked in by bensch, 19 years ago
|
orxonox/branches/particleEngine: some more definitions of the particleSystem/Emitter
|
File size:
574 bytes
|
Line | |
---|
1 | /*! |
---|
2 | \file particle_engine.h |
---|
3 | \brief Definition of the ParticleEngine |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _PARTICLE_ENGINE_H |
---|
7 | #define _PARTICLE_ENGINE_H |
---|
8 | |
---|
9 | #include "base_object.h" |
---|
10 | |
---|
11 | // FORWARD DEFINITION |
---|
12 | template<class T> class tList; |
---|
13 | class ParticleSystem; |
---|
14 | |
---|
15 | |
---|
16 | //! A default singleton class. |
---|
17 | class ParticleEngine : public BaseObject { |
---|
18 | |
---|
19 | public: |
---|
20 | static ParticleEngine* getInstance(void); |
---|
21 | virtual ~ParticleEngine(void); |
---|
22 | |
---|
23 | void tick(float dt); |
---|
24 | |
---|
25 | private: |
---|
26 | ParticleEngine(void); |
---|
27 | static ParticleEngine* singletonRef; |
---|
28 | |
---|
29 | tList<ParticleSystem>* partSysList; |
---|
30 | }; |
---|
31 | |
---|
32 | #endif /* _PARTICLE_ENGINE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.