fix: merge conflicts

pull/147/head
alestiago 4 years ago
parent 1f3c28eefa
commit 14e3210276

@ -88,11 +88,6 @@ class PinballGame extends Forge2DGame
); );
} }
Future<void> _addRamps() async {
unawaited(addFromBlueprint(SpaceshipRamp()));
unawaited(addFromBlueprint(LaunchRamp()));
}
Future<void> spawnBall() async { Future<void> spawnBall() async {
// TODO(alestiago): Remove once this logic is moved to controller. // TODO(alestiago): Remove once this logic is moved to controller.
var plunger = firstChild<Plunger>(); var plunger = firstChild<Plunger>();

@ -6,9 +6,9 @@ import 'helpers.dart';
class PinballGameTest extends PinballGame { class PinballGameTest extends PinballGame {
PinballGameTest() PinballGameTest()
: super( : super(
audio: MockPinballAudio(),
theme: const PinballTheme( theme: const PinballTheme(
characterTheme: DashTheme(), characterTheme: DashTheme(),
audio: MockPinballAudio(),
), ),
); );
} }
@ -16,9 +16,9 @@ class PinballGameTest extends PinballGame {
class DebugPinballGameTest extends DebugPinballGame { class DebugPinballGameTest extends DebugPinballGame {
DebugPinballGameTest() DebugPinballGameTest()
: super( : super(
audio: MockPinballAudio(),
theme: const PinballTheme( theme: const PinballTheme(
characterTheme: DashTheme(), characterTheme: DashTheme(),
audio: MockPinballAudio(),
), ),
); );
} }

Loading…
Cancel
Save