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-04-25 17:21:46 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-25 17:21:46 -0700 |
commit | 1833dfebf19cf4478a74d907b52c9e569879646f (patch) | |
tree | 0b65d1a9019b3bd9ba3b2ffc34898a1dce77f857 /src/index.js | |
parent | 7f0c19becd5979a16d9298cae9f6ff8a6f96d9c2 (diff) |
WIP: firing arcs algo
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js index 0a75486..4ceb5e7 100644 --- a/src/index.js +++ b/src/index.js @@ -43,6 +43,8 @@ window.addEventListener('load', () => { const svg = document.querySelector('object').contentDocument.querySelector('svg'), game = new Game(svg); + window.game = game; + const svgns = "http://www.w3.org/2000/svg", recordSheetVisibility = document.querySelector('#content input[type="checkbox"].visible'); |