refactor: included ScorePoint generics (#88)

pull/91/head
Alejandro Santiago 3 years ago committed by GitHub
parent d5d3640f0a
commit 394acd1802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save