Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-07-16 14:05:08 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-07-16 14:05:11 -0700
commit3f24534eb775fa26df35a2fbeb909aef3480317f (patch)
treef5648b8ba8f61194e96f63b6bad9448778ad226d /src/index.js
parent5ea152f4f6419e77f5d1bf76fb4c15a883376700 (diff)
WIP: Turn/torso-twist mech template on keypress
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index 2da4f2f..46f39fd 100644
--- a/src/index.js
+++ b/src/index.js
@@ -159,6 +159,7 @@ document.querySelectorAll('.set-firing-arc').forEach(el =>
);
document.querySelector('.set-grenade').addEventListener('click', gameboard.setGrenade);
+document.querySelector('.set-mech-template').addEventListener('click', gameboard.setMechTemplate);
document.querySelectorAll('#toggle-firing-arc-vis input').forEach(el =>
el.addEventListener('input', gameboard.toggleFiringArcVisibility)