feat: set ScorePoints mixin on BodyComponent

pull/7/head
alestiago 4 years ago
parent 5f04e23932
commit aa40ed5b25

@ -6,7 +6,7 @@ import 'package:pinball/game/game.dart';
/// {@template score_points} /// {@template score_points}
/// Specifies the amount of points received on [Ball] collision. /// Specifies the amount of points received on [Ball] collision.
/// {@endtemplate} /// {@endtemplate}
mixin ScorePoints { mixin ScorePoints on BodyComponent {
/// {@macro score_points} /// {@macro score_points}
int get points; int get points;
} }

Loading…
Cancel
Save