ImageParticle(Map *map, Image *image)
Constructor.
ResourceRef< Image > mImageRef
Image * mImage
The image used for this particle.
~ImageParticle() override
bool draw(Graphics *graphics, int offsetX, int offsetY) const override
Draws the particle image.
A particle spawned by a ParticleEmitter.
float getCurrentAlpha() const
Calculates the current alpha transparency taking current fade status into account.