diff options
author | chai <chaifix@163.com> | 2018-10-24 08:20:13 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-24 08:20:13 +0800 |
commit | 280c39c65f47b4d1395d0dfe583a67a058804a27 (patch) | |
tree | e03b8699abed3fdaf8e3a2d2490b08f1ca3702dd /src/libjin/Graphics/particle/je_particle_system.h | |
parent | d74e03063095d43c654fa52c3868f7ef8fce69f1 (diff) |
*粒子系统
Diffstat (limited to 'src/libjin/Graphics/particle/je_particle_system.h')
-rw-r--r-- | src/libjin/Graphics/particle/je_particle_system.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libjin/Graphics/particle/je_particle_system.h b/src/libjin/Graphics/particle/je_particle_system.h index c5db938..9ccb8df 100644 --- a/src/libjin/Graphics/particle/je_particle_system.h +++ b/src/libjin/Graphics/particle/je_particle_system.h @@ -4,6 +4,7 @@ #include <vector> #include "../../common/je_temporary.h" +#include "../../game/je_game_object.h" #include "../je_sprite.h" @@ -21,14 +22,16 @@ namespace JinEngine /// struct ParticleSystemDef : public Temporary { - uint maxParticleCount = 1; ///< Max count of particles. 1 by default. + uint maxParticleCount = 1; ///< Max count of particles in pool. 1 by default. + + ParticleEmitter emitterDef; }; /// /// Particle emitter, handle all particles it emitts. /// - class ParticleSystem + class ParticleSystem : public Game::GameObject { public: /// |