From 403d997f1737250487280ab49f387e8e3002748e Mon Sep 17 00:00:00 2001 From: Alejandro Santiago Date: Wed, 2 Mar 2022 20:11:00 +0000 Subject: [PATCH] refactor: renamed method parameter hasPoints to scorePoints (#8) --- 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 02506c8c..c6474b16 100644 --- a/lib/game/components/score_points.dart +++ b/lib/game/components/score_points.dart @@ -17,10 +17,10 @@ class BallScorePointsCallback extends ContactCallback { @override void begin( Ball ball, - ScorePoints hasPoints, + ScorePoints scorePoints, Contact _, ) { - ball.gameRef.read().add(Scored(points: hasPoints.points)); + ball.gameRef.read().add(Scored(points: scorePoints.points)); } // TODO(alestiago): remove once this issue is closed.