Particle constructor

Particle({
  1. double x = 0.0,
  2. double y = 0.0,
  3. double vx = 0.0,
  4. double vy = 0.0,
  5. double life = 0,
  6. int frame = 0,
  7. bool animate = false,
})

Implementation

Particle(
    {this.x = 0.0,
    this.y = 0.0,
    this.vx = 0.0,
    this.vy = 0.0,
    this.life = 0,
    this.frame = 0,
    this.animate = false});