|
|
@ -23,8 +23,8 @@ class BallScorePointsCallback extends ContactCallback<Ball, ScorePoints> {
|
|
|
|
ball.gameRef.read<GameBloc>().add(Scored(points: hasPoints.points));
|
|
|
|
ball.gameRef.read<GameBloc>().add(Scored(points: hasPoints.points));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// TODO(alestiago): remove if the PR gets merged.
|
|
|
|
// TODO(alestiago): remove once this issue is closed.
|
|
|
|
// https://github.com/flame-engine/flame/pull/1415
|
|
|
|
// https://github.com/flame-engine/flame/issues/1414
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
void end(Ball _, ScorePoints __, Contact ___) {}
|
|
|
|
void end(Ball _, ScorePoints __, Contact ___) {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|