Update lib/game/pinball_game.dart

pull/9/head
Erick 4 years ago committed by GitHub
parent ca989eac8d
commit 174cbae1bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,6 +7,7 @@ class PinballGame extends Forge2DGame with FlameBloc {
add(Ball(position: ballStartingPosition));
}
// TODO(erickzanardo): Change to the plumber position
late final ballStartingPosition = screenToWorld(
Vector2(
camera.viewport.effectiveSize.x / 2,

Loading…
Cancel
Save