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-16 14:05:08 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-16 14:05:11 -0700 |
commit | 3f24534eb775fa26df35a2fbeb909aef3480317f (patch) | |
tree | f5648b8ba8f61194e96f63b6bad9448778ad226d /src/index.js | |
parent | 5ea152f4f6419e77f5d1bf76fb4c15a883376700 (diff) |
WIP: Turn/torso-twist mech template on keypress
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 1 |
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) |