MoveToPositionSceneAction<T extends Movement> constructor

MoveToPositionSceneAction<T extends Movement>({
  1. dynamic id,
  2. required T component,
  3. required Vector2 newPosition,
})

Implementation

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