Web Dev Solutions

Catalin Mititiuc

From 7f0c19becd5979a16d9298cae9f6ff8a6f96d9c2 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Wed, 24 Apr 2024 19:35:42 -0700 Subject: More functional refactor --- src/modules/game.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/game.js') diff --git a/src/modules/game.js b/src/modules/game.js index f9ce991..c22dc9d 100644 --- a/src/modules/game.js +++ b/src/modules/game.js @@ -1,6 +1,6 @@ -import FiringArc from './firingArc.js'; -import SightLine from './sightLine.js'; -import Counter from './counter.js'; +import firingArc from './game/firingArc.js'; +import SightLine from './game/sightLine.js'; +import Counter from './game/counter.js'; const svgns = "http://www.w3.org/2000/svg"; @@ -10,7 +10,7 @@ export default class Game { constructor(svg) { this.svg = svg; - this.firingArc = new FiringArc(svg); + this.firingArc = new firingArc(svg); this.sightLine = new SightLine(svg); this.counter = new Counter(svg); -- cgit v1.2.3