CameraSceneAction constructor

CameraSceneAction({
  1. dynamic id,
  2. Vector2? position,
  3. GameComponent? target,
  4. double? zoom,
  5. double? angle,
  6. Curve curve = widget.Curves.decelerate,
  7. required Duration duration,
})

Implementation

CameraSceneAction({
  dynamic id,
  this.position,
  this.target,
  this.zoom,
  this.angle,
  this.curve = widget.Curves.decelerate,
  required this.duration,
}) : super(id);