MoveToPositionSceneAction<T extends Movement> constructor
MoveToPositionSceneAction<T extends Movement> ({
- dynamic id,
- required T component,
- required Vector2 newPosition,
Implementation
MoveToPositionSceneAction({
dynamic id,
required this.component,
required this.newPosition,
}) : super(id);