|
|
@ -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 on BodyComponent {
|
|
|
|
mixin ScorePoints<T extends Forge2DGame> on BodyComponent<T> {
|
|
|
|
/// {@macro score_points}
|
|
|
|
/// {@macro score_points}
|
|
|
|
int get points;
|
|
|
|
int get points;
|
|
|
|
|
|
|
|
|
|
|
|