diff --git a/lib/game/pinball_game.dart b/lib/game/pinball_game.dart index c35d82c6..3c99fbca 100644 --- a/lib/game/pinball_game.dart +++ b/lib/game/pinball_game.dart @@ -88,11 +88,6 @@ class PinballGame extends Forge2DGame ); } - Future _addRamps() async { - unawaited(addFromBlueprint(SpaceshipRamp())); - unawaited(addFromBlueprint(LaunchRamp())); - } - Future spawnBall() async { // TODO(alestiago): Remove once this logic is moved to controller. var plunger = firstChild(); diff --git a/test/helpers/extensions.dart b/test/helpers/extensions.dart index 66817a24..4731eec4 100644 --- a/test/helpers/extensions.dart +++ b/test/helpers/extensions.dart @@ -6,9 +6,9 @@ import 'helpers.dart'; class PinballGameTest extends PinballGame { PinballGameTest() : super( + audio: MockPinballAudio(), theme: const PinballTheme( characterTheme: DashTheme(), - audio: MockPinballAudio(), ), ); } @@ -16,9 +16,9 @@ class PinballGameTest extends PinballGame { class DebugPinballGameTest extends DebugPinballGame { DebugPinballGameTest() : super( + audio: MockPinballAudio(), theme: const PinballTheme( characterTheme: DashTheme(), - audio: MockPinballAudio(), ), ); }