Web Dev Solutions

Catalin Mititiuc

From bcd34e76db0e169b6e6e1b2d3f50cba35666e4e1 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Fri, 26 Apr 2024 21:50:22 -0700 Subject: Remove calling firing arc module with 'new' --- src/modules/game.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/modules/game.js') diff --git a/src/modules/game.js b/src/modules/game.js index 62cca1e..b2f0672 100644 --- a/src/modules/game.js +++ b/src/modules/game.js @@ -13,11 +13,8 @@ export default class Game { const board = this.getBoard(); - this.firingArc = new FiringArc(svg, board); + this.firingArc = FiringArc(svg, board); this.sightLine = SightLine(svg, board); - - console.log(this.sightLine); - this.counter = new Counter(svg); this.setUpCells(); -- cgit v1.2.3