index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/modules/game/counter.js')
-rw-r--r-- | src/modules/game/counter.js | 5 |
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'; } |