useGame=>useCursor=>useHero=>useHeroRender

This commit is contained in:
2025-10-19 03:01:22 +01:00
parent 7e9058b2c9
commit 6108640267
9 changed files with 64 additions and 59 deletions
-6
View File
@@ -25,12 +25,6 @@ export const useKeyBindings = (gameManager: GameManager) => {
// ignore other keys while waiting
if (gameStatus === "waiting") return;
// cancel count or stop game
if (ev.key === "Escape") {
quitGame();
return;
}
// quit
if (ev.key === "q" || ev.key === "Q") {
quitGame();