refactor: renamed method parameter hasPoints to scorePoints

pull/8/head
alestiago 4 years ago
parent afeaf4a058
commit 68f523cd5e

@ -17,10 +17,10 @@ class BallScorePointsCallback extends ContactCallback<Ball, ScorePoints> {
@override
void begin(
Ball ball,
ScorePoints hasPoints,
ScorePoints scorePoints,
Contact _,
) {
ball.gameRef.read<GameBloc>().add(Scored(points: hasPoints.points));
ball.gameRef.read<GameBloc>().add(Scored(points: scorePoints.points));
}
// TODO(alestiago): remove once this issue is closed.

Loading…
Cancel
Save