Web Dev Solutions

Catalin Mititiuc

From 3f24534eb775fa26df35a2fbeb909aef3480317f Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Tue, 16 Jul 2024 14:05:08 -0700 Subject: WIP: Turn/torso-twist mech template on keypress --- src/index.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/index.js') 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) -- cgit v1.2.3