chore: removed unecessary end callback (#30)

pull/39/head
Alejandro Santiago 4 years ago committed by alestiago
parent c2979f384d
commit 4333fef1f0

@ -22,9 +22,4 @@ class BallScorePointsCallback extends ContactCallback<Ball, ScorePoints> {
) { ) {
ball.gameRef.read<GameBloc>().add(Scored(points: scorePoints.points)); ball.gameRef.read<GameBloc>().add(Scored(points: scorePoints.points));
} }
// TODO(alestiago): remove once this issue is closed.
// https://github.com/flame-engine/flame/issues/1414
@override
void end(Ball _, ScorePoints __, Contact ___) {}
} }

@ -63,7 +63,4 @@ class BottomWallBallContactCallback extends ContactCallback<Ball, BottomWall> {
void begin(Ball ball, BottomWall wall, Contact contact) { void begin(Ball ball, BottomWall wall, Contact contact) {
ball.lost(); ball.lost();
} }
@override
void end(_, __, ___) {}
} }

Loading…
Cancel
Save