MoveComponentSceneAction<T extends Movement> constructor

MoveComponentSceneAction<T extends Movement>({
  1. dynamic id,
  2. required T component,
  3. required Vector2 newPosition,
  4. double? speed,
})

Implementation

MoveComponentSceneAction({
  dynamic id,
  required this.component,
  required this.newPosition,
  this.speed,
}) : super(id);