Merge branch 'feat/spaceship-drop-tube' of github.com:VGVentures/pinball into feat/spaceship-drop-tube

pull/79/head
RuiAlonso 4 years ago
commit 2c58c02b10

@ -7,7 +7,7 @@ import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:pinball/flame/blueprint.dart'; import 'package:pinball/flame/blueprint.dart';
import 'package:pinball/game/game.dart'; import 'package:pinball/game/game.dart';
/// A [Blueprint] for the spaceship drop ramp. /// A [Blueprint] for the spaceship exit rail.
class SpaceshipExitRail extends Forge2DBlueprint { class SpaceshipExitRail extends Forge2DBlueprint {
@override @override
void build() { void build() {

@ -6,7 +6,7 @@ import 'package:pinball/game/game.dart';
import '../../helpers/helpers.dart'; import '../../helpers/helpers.dart';
void main() { void main() {
group('Spaceship', () { group('SpaceshipExitRail', () {
late Filter filterData; late Filter filterData;
late Fixture fixture; late Fixture fixture;
late Body body; late Body body;
@ -45,7 +45,7 @@ void main() {
verify(() => ball.priority = 1).called(1); verify(() => ball.priority = 1).called(1);
}); });
test('re order the game children', () { test('reorders the game children', () {
when(() => hole.outsideLayer).thenReturn(Layer.board); when(() => hole.outsideLayer).thenReturn(Layer.board);
SpaceshipExitHoleBallContactCallback().begin( SpaceshipExitHoleBallContactCallback().begin(

Loading…
Cancel
Save