aboutsummaryrefslogtreecommitdiff
path: root/src/game.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.zig')
-rw-r--r--src/game.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.zig b/src/game.zig
index 01e3dc4..d0395a0 100644
--- a/src/game.zig
+++ b/src/game.zig
@@ -35,5 +35,7 @@ pub const Game = struct {
self.brothers[0].update(self.gamepads[0]);
self.brothers[1].update(self.gamepads[1]);
self.ball.update();
+ self.brothers[0].collide(&self.ball);
+ self.brothers[1].collide(&self.ball);
}
};