ParticleSimulator

class ParticleSimulator(maxParticles: Int)

Author

Colton Daily

Constructors

Link copied to clipboard
fun ParticleSimulator(maxParticles: Int)

Functions

Link copied to clipboard
fun alloc(slice: TextureSlice, x: Float, y: Float): Particle
Link copied to clipboard
fun update(dt: Duration, optionalTmod: Float = -1f)

Properties

Link copied to clipboard
var numAlloc: Int = 0
Link copied to clipboard
Link copied to clipboard
var totalAlive: Int = 0

Extensions

Link copied to clipboard