refactor: leave spawn ball synchronous

pull/25/head
Allison Ryan 4 years ago
parent bf48a81ef9
commit 2b9e207703

@ -44,8 +44,8 @@ class PinballGame extends Forge2DGame
); );
} }
Future<void> spawnBall() async { void spawnBall() {
await add( add(
Ball( Ball(
position: Vector2( position: Vector2(
plunger.body.position.x, plunger.body.position.x,

Loading…
Cancel
Save