From ee35f5c8f2d4c3d99ba06d634594ea85c246ce56 Mon Sep 17 00:00:00 2001 From: GameChanger3714 <71977652+GameChanger3714@users.noreply.github.com> Date: Sun, 4 Oct 2020 13:02:24 -0400 Subject: [PATCH] Update #00001 A change to fix a bug. --- brickbreak/brickbreakclasses.js | 1 + 1 file changed, 1 insertion(+) diff --git a/brickbreak/brickbreakclasses.js b/brickbreak/brickbreakclasses.js index 08f47fc..aebe598 100644 --- a/brickbreak/brickbreakclasses.js +++ b/brickbreak/brickbreakclasses.js @@ -22,6 +22,7 @@ export class Hud { export class Ball { constructor(world) { this.canvas = world.canvas; + this.ctx = world.ctx this.x = this.canvas.width / 2; this.y = this.canvas.height - 30; this.ballRadius = 10;