refactor: PR suggestions

pull/42/head
Allison Ryan 4 years ago
parent d33f43645a
commit 280a4e523e

@ -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}

@ -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;

Loading…
Cancel
Save