From 0d09a59b9379aad4abc5a577fe3d558795919f54 Mon Sep 17 00:00:00 2001 From: Rui Miguel Alonso Date: Wed, 23 Mar 2022 20:46:15 +0100 Subject: [PATCH 1/3] Update lib/game/components/spaceship_exit_rail.dart Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com> --- lib/game/components/spaceship_exit_rail.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/game/components/spaceship_exit_rail.dart b/lib/game/components/spaceship_exit_rail.dart index 5851d16a..4dc48da3 100644 --- a/lib/game/components/spaceship_exit_rail.dart +++ b/lib/game/components/spaceship_exit_rail.dart @@ -7,7 +7,7 @@ import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:pinball/flame/blueprint.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 { @override void build() { From 1f120ddaa7a71e777dffcf7e26053ce0e3d26274 Mon Sep 17 00:00:00 2001 From: Rui Miguel Alonso Date: Wed, 23 Mar 2022 20:46:38 +0100 Subject: [PATCH 2/3] Update test/game/components/spaceship_exit_rail_test.dart Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com> --- test/game/components/spaceship_exit_rail_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/game/components/spaceship_exit_rail_test.dart b/test/game/components/spaceship_exit_rail_test.dart index a77d85d1..936aeeb2 100644 --- a/test/game/components/spaceship_exit_rail_test.dart +++ b/test/game/components/spaceship_exit_rail_test.dart @@ -6,7 +6,7 @@ import 'package:pinball/game/game.dart'; import '../../helpers/helpers.dart'; void main() { - group('Spaceship', () { + group('SpaceshipExitRail', () { late Filter filterData; late Fixture fixture; late Body body; From ecb649070bd48a6097e168c24f7d0986b0105d82 Mon Sep 17 00:00:00 2001 From: Rui Miguel Alonso Date: Wed, 23 Mar 2022 20:47:07 +0100 Subject: [PATCH 3/3] Update test/game/components/spaceship_exit_rail_test.dart Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com> --- test/game/components/spaceship_exit_rail_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/game/components/spaceship_exit_rail_test.dart b/test/game/components/spaceship_exit_rail_test.dart index 936aeeb2..2a0faa8a 100644 --- a/test/game/components/spaceship_exit_rail_test.dart +++ b/test/game/components/spaceship_exit_rail_test.dart @@ -45,7 +45,7 @@ void main() { verify(() => ball.priority = 1).called(1); }); - test('re order the game children', () { + test('reorders the game children', () { when(() => hole.outsideLayer).thenReturn(Layer.board); SpaceshipExitHoleBallContactCallback().begin(