From 280a4e523e5a213232be4bc43607fc6f9ee912dd Mon Sep 17 00:00:00 2001 From: Allison Ryan Date: Mon, 14 Mar 2022 12:13:26 -0500 Subject: [PATCH] refactor: PR suggestions --- lib/game/components/round_bumper.dart | 2 +- test/game/components/round_bumper_test.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/game/components/round_bumper.dart b/lib/game/components/round_bumper.dart index 37f02258..753ed15b 100644 --- a/lib/game/components/round_bumper.dart +++ b/lib/game/components/round_bumper.dart @@ -2,7 +2,7 @@ import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:pinball/game/game.dart'; /// {@template round_bumper} -/// Circular body that repels a [Ball] on contact and increases the score. +/// Circular body that repels a [Ball] on contact, increasing the score. /// {@endtemplate} class RoundBumper extends BodyComponent with ScorePoints { /// {@macro round_bumper} diff --git a/test/game/components/round_bumper_test.dart b/test/game/components/round_bumper_test.dart index f01ff13c..33deff97 100644 --- a/test/game/components/round_bumper_test.dart +++ b/test/game/components/round_bumper_test.dart @@ -11,7 +11,7 @@ void main() { TestWidgetsFlutterBinding.ensureInitialized(); group('RoundBumper', () { - final flameTester = FlameTester(PinballGameTest.create); + final flameTester = FlameTester(Forge2DGame.new); const radius = 1.0; const points = 1;