aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ParticleEmitter.hpp
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-10-10 08:38:40 +0200
committerjaroWMR <jarorutjes07@gmail.com>2024-10-10 08:38:40 +0200
commitd001c4ba95a72f13c942f1a24eb98fe1584d93a4 (patch)
tree8d72f1ddf9baf591fdf99397aa1495a219d35d35 /src/crepe/ParticleEmitter.hpp
parent163c9e3eea437daa8ef6007fbdf2f91470066cbf (diff)
Renamed files and Emitter is a component
Diffstat (limited to 'src/crepe/ParticleEmitter.hpp')
-rw-r--r--src/crepe/ParticleEmitter.hpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/crepe/ParticleEmitter.hpp b/src/crepe/ParticleEmitter.hpp
deleted file mode 100644
index 5de5e1e..0000000
--- a/src/crepe/ParticleEmitter.hpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#pragma once
-
-#include <vector>
-#include "Particle.hpp"
-
-
-
-class ParticleEmitter {
-public:
- ParticleEmitter(unsigned int maxParticles, unsigned int emissionRate, unsigned int speed, unsigned int speedOffset, unsigned int angle, unsigned int angleOffset,float m_beginLifespan,float m_endLifespan);
- ~ParticleEmitter();
-
- Position m_position; //position of the emitter
- unsigned int m_maxParticles; //maximum number of particles
- unsigned int m_emissionRate; //rate of particle emission
- unsigned int m_speed; //base speed of the particles
- unsigned int m_speedOffset; //offset for random speed variation
- unsigned int m_minAngle; //min angle of particle emission
- unsigned int m_maxAngle; //max angle of particle emission
- float m_beginLifespan; //begin Lifespan of particle (only visual)
- float m_endLifespan; //begin Lifespan of particle
-
- std::vector<Particle> particles; //collection of particles
-
-};