moveToPlayerAnimated method
void
moveToPlayerAnimated({
- EffectController? effectController,
- dynamic onComplete()?,
- double? zoom,
- double? angle,
Implementation
void moveToPlayerAnimated({
EffectController? effectController,
Function()? onComplete,
double? zoom,
double? angle,
}) {
gameRef.player.let((i) {
moveToTargetAnimated(
target: i,
effectController: effectController,
zoom: zoom,
angle: angle,
onComplete: onComplete,
);
});
}