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;