TranslatedParticle constructor

TranslatedParticle({
  1. required Particle child,
  2. required Vector2 offset,
  3. double? lifespan,
})

Implementation

TranslatedParticle({
  required this.child,
  required this.offset,
  super.lifespan,
});