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 {
await add(
void spawnBall() {
add(
Ball(
position: Vector2(
plunger.body.position.x,

Loading…
Cancel
Save