Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-26 21:50:22 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-26 21:50:22 -0700
commitbcd34e76db0e169b6e6e1b2d3f50cba35666e4e1 (patch)
tree30dbb01efda22215abc7a494f7a96793f786a2f9 /src/modules/game.js
parentea3341323a843147e8dc57b8a60a33ff92ec81d9 (diff)
Remove calling firing arc module with 'new'
Diffstat (limited to 'src/modules/game.js')
-rw-r--r--src/modules/game.js5
1 files changed, 1 insertions, 4 deletions
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();