diff --git a/lib/game/components/score_points.dart b/lib/game/components/score_points.dart index 0e95635b..d6d6632a 100644 --- a/lib/game/components/score_points.dart +++ b/lib/game/components/score_points.dart @@ -11,8 +11,8 @@ mixin ScorePoints on BodyComponent { int get points; } -/// [ContactCallback] that adds points to the score when a [Ball] collides with -/// a [BodyComponent] that implements [ScorePoints]. +/// Adds points to the score when a [Ball] collides with a [BodyComponent] that +/// implements [ScorePoints]. class BallScorePointsCallback extends ContactCallback { @override void begin(