From 506e44a63b11f433154e40fda908a56070d8dc9a Mon Sep 17 00:00:00 2001 From: alestiago Date: Wed, 2 Mar 2022 19:20:26 +0000 Subject: [PATCH] docs: improved BallScorePointsCallback doc comment --- lib/game/components/score_points.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(