refactor: renamed method parameter hasPoints to scorePoints (#8)

pull/12/head
Alejandro Santiago 4 years ago committed by GitHub
parent afeaf4a058
commit 403d997f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,10 +17,10 @@ class BallScorePointsCallback extends ContactCallback<Ball, ScorePoints> {
@override @override
void begin( void begin(
Ball ball, Ball ball,
ScorePoints hasPoints, ScorePoints scorePoints,
Contact _, 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. // TODO(alestiago): remove once this issue is closed.

Loading…
Cancel
Save