Particle Explosion
fun ParticleExplosion(epicentre: Vec2, noOfParticles: Int, lifespan: Double)
Content copied to clipboard
Parameters
epicentre
Vector location of explosion epicenter.
no Of Particles
Total number of particles the explosion has.
lifespan
The life time of the particle.