ELightning constructor

ELightning(
  1. ERelativePair position,
  2. double spread,
  3. ERelative glow,
  4. ERelative width,
  5. ERelative curve,
  6. int numberOfPoints,
  7. double buildingTimeInTicks,
  8. EColorShift color,
  9. bool throwsLight,
  10. double lightningBlur,
  11. int repainter, {
  12. String name = "",
})

Implementation

ELightning(
    this.position,
    this.spread,
    this.glow,
    this.width,
    this.curve,
    this.numberOfPoints,
    this.buildingTimeInTicks,
    this.color,
    this.throwsLight,
    this.lightningBlur,
    this.repainter,
    {String name = ""})
    : super(true, true, name: name);