aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/particle/je_particle_system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Graphics/particle/je_particle_system.h')
-rw-r--r--src/libjin/Graphics/particle/je_particle_system.h7
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:
///