Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/game/counter.js')
-rw-r--r--src/modules/game/counter.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/game/counter.js b/src/modules/game/counter.js
index 69552d8..cc15509 100644
--- a/src/modules/game/counter.js
+++ b/src/modules/game/counter.js
@@ -1,8 +1,11 @@
const svgns = "http://www.w3.org/2000/svg";
export default class Counter {
- constructor(svg) {
+ #board;
+
+ constructor(svg, board) {
this.svg = svg;
+ this.#board = board;
this.selectedClass = 'selected';
}