ParticleExplosion

fun ParticleExplosion(epicentre: Vec2, noOfParticles: Int, lifespan: Double)

Parameters

epicentre

Vector location of explosion epicenter.

noOfParticles

Total number of particles the explosion has.

lifespan

The life time of the particle.