A particle that uses an image for its visualization.
Image * mImage
The image used for this particle.
virtual bool update()
Updates particle position, returns false when the particle should be deleted.
Vector mVelocity
Speed in pixels per game-tick.
RotationalParticle(Map *map, Animation animation)
bool update() override
Updates particle position, returns false when the particle should be deleted.
SimpleAnimation mAnimation
Used animation for this particle.
~RotationalParticle() override