moveToPlayer method
Implementation
void moveToPlayer({
bool snap = true,
}) {
gameRef.player.let((i) {
follow(i, snap: snap);
});
}
void moveToPlayer({
bool snap = true,
}) {
gameRef.player.let((i) {
follow(i, snap: snap);
});
}