Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-08-02 18:53:02 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-08-02 18:53:02 -0700
commit34ed6e2a9c0ef9d4354454394c52e412d8c34d51 (patch)
tree099fc56dc496e008e645c2d3ecf0c9e17afc46fc /src/modules/gameboard.js
parentb27a139c9ed426d7c9042b07d5a61ecddaee0175 (diff)
Add weapon counters for new weapons
Diffstat (limited to 'src/modules/gameboard.js')
-rw-r--r--src/modules/gameboard.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/gameboard.js b/src/modules/gameboard.js
index d386855..74e5582 100644
--- a/src/modules/gameboard.js
+++ b/src/modules/gameboard.js
@@ -371,9 +371,9 @@ export function start(el) {
// debug //
// Add a trooper counter
//const defender = { dataset: { allegiance: 'defender', number: 1, squad: 2 }};
- //const cell2 = getCell(-1, 0, 1, 0);
+ //const cell2 = getCell(-5, 10, -5, 0);
//frontmost.setAttributeNS(null, 'transform', cell2.getAttributeNS(null, 'transform'));
- //const trooper2 = soldier.createCounter(defender, 'blazer');
+ //const trooper2 = soldier.createCounter(defender, 'gl');
//frontmostStore.set(trooper2, cell2);
//frontmost.append(trooper2);
//cell2.classList.add('hover');
@@ -381,7 +381,7 @@ export function start(el) {
//const cell = getCell(0, 0, 0, 0);
//const attacker = { dataset: { allegiance: 'attacker', number: 1, squad: 1 }};
//const trooper = soldier.createCounter(attacker, 'blazer');
- //soldier.place(svg, trooper, cell);
+ //soldier.place(svg, trooper2, cell2);
// Add some counters in an unoccupied cell
//const countersCell = getCell(-1, 1, 0, 0);