JAM_Texture * texture
Definition: ParticleEffect.h:25
void makeNewParticles()
Definition: ParticleEffect.cpp:120
Creates a Texture for use with a renderer. Creates a Texture from an image file, this can then be use...
Definition: Texture.h:13
int screenHeight
Definition: ParticleEffect.h:33
JAM_Vec2 emitter
Definition: ParticleEffect.h:29
void update(float dt)
Definition: ParticleEffect.cpp:68
void draw(SDL_Renderer *renderer)
Definition: ParticleEffect.cpp:107
JAM_ParticleEffect(std::string fileName, JAM_Vec2 emitter, bool emit, SDL_Renderer *renderer, int screenHeight)
Definition: ParticleEffect.cpp:6
float moveSpeed
Definition: ParticleEffect.h:27
void setEmitter(JAM_Vec2 emitter)
Definition: ParticleEffect.cpp:150
~JAM_ParticleEffect()
Definition: ParticleEffect.cpp:56
void setEmitting(bool emit)
Definition: ParticleEffect.cpp:159
bool emit
Definition: ParticleEffect.h:31
Creates a ParticleEffect object that handles Particle objects.
Definition: ParticleEffect.h:19
std::vector< JAM_Particle * > particles
Definition: ParticleEffect.h:23