Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-24 19:35:42 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-24 19:35:42 -0700
commit7f0c19becd5979a16d9298cae9f6ff8a6f96d9c2 (patch)
tree063c3737b276d4117edf4ee17b255b8d84a87a80 /src/modules/game.js
parente7f7bf1f31a7e1f937eb3eda4ee735db04e6384e (diff)
More functional refactor
Diffstat (limited to 'src/modules/game.js')
-rw-r--r--src/modules/game.js8
1 files changed, 4 insertions, 4 deletions
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);