From 74c2b0483ee44b820567c9e762b673b9f531a13e Mon Sep 17 00:00:00 2001 From: Allison Ryan Date: Tue, 19 Apr 2022 16:43:02 -0500 Subject: [PATCH] refactor: update dash nest games --- .../lib/stories/flutter_forest/big_dash_nest_bumper_game.dart | 2 +- .../stories/flutter_forest/small_dash_nest_bumper_a_game.dart | 2 +- .../stories/flutter_forest/small_dash_nest_bumper_b_game.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/pinball_components/sandbox/lib/stories/flutter_forest/big_dash_nest_bumper_game.dart b/packages/pinball_components/sandbox/lib/stories/flutter_forest/big_dash_nest_bumper_game.dart index e74abe35..ed3e243d 100644 --- a/packages/pinball_components/sandbox/lib/stories/flutter_forest/big_dash_nest_bumper_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/flutter_forest/big_dash_nest_bumper_game.dart @@ -16,7 +16,7 @@ class BigDashNestBumperGame extends BasicBallGame with Traceable { Future onLoad() async { await super.onLoad(); camera.followVector2(Vector2.zero()); - await add(BigDashNestBumper()..priority = 1); + await add(DashNestBumper.main()..priority = 1); await traceAllBodies(); await traceAllBodies(); } diff --git a/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_a_game.dart b/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_a_game.dart index 4ef99b21..bb974280 100644 --- a/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_a_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_a_game.dart @@ -16,7 +16,7 @@ class SmallDashNestBumperAGame extends BasicBallGame with Traceable { Future onLoad() async { await super.onLoad(); camera.followVector2(Vector2.zero()); - await add(SmallDashNestBumper.a()..priority = 1); + await add(DashNestBumper.a()..priority = 1); await traceAllBodies(); await traceAllBodies(); } diff --git a/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_b_game.dart b/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_b_game.dart index 625b8e5c..f84b4991 100644 --- a/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_b_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_b_game.dart @@ -16,7 +16,7 @@ class SmallDashNestBumperBGame extends BasicBallGame with Traceable { Future onLoad() async { await super.onLoad(); camera.followVector2(Vector2.zero()); - await add(SmallDashNestBumper.b()..priority = 1); + await add(DashNestBumper.b()..priority = 1); await traceAllBodies(); await traceAllBodies(); }