index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-25 14:45:29 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-25 14:45:29 -0700 |
commit | 00581b900f0f1d0dc6e972f80daa8438000115e3 (patch) | |
tree | 176a8386f0a66fe5647886fcb80558977e834571 /src/modules/gameboard.js | |
parent | f503f974f37f1a1916189a033a1708689d512d35 (diff) |
Capture pan-zoom pointer sooner
Diffstat (limited to 'src/modules/gameboard.js')
-rw-r--r-- | src/modules/gameboard.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/gameboard.js b/src/modules/gameboard.js index e3db1a5..4d6790a 100644 --- a/src/modules/gameboard.js +++ b/src/modules/gameboard.js @@ -324,7 +324,10 @@ export function start(el) { // const defender = { dataset: { allegiance: 'defender', number: 1, squad: 2 }}; //const cell = getCell(0, 0, 0, 0); //const trooper = soldier.createCounter(attacker, 'blazer'); - //soldier.place(svg, trooper, cell); + //const trooperSack = document.createElementNS(svgns, 'g'); + //trooperSack.classList.add('cell-contents'); + //trooperSack.append(trooper); + //soldier.place(svg, trooperSack, cell); // Add some counters in an unoccupied cell //const countersCell = getCell(-1, 1, 0, 0); |