MCPcopy
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / isMenuVisible

Function isMenuVisible

assets/js/block_ninja.js:137–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135
136const isInGame = () => !state.menus.active;
137const isMenuVisible = () => !!state.menus.active;
138const isCasualGame = () => state.game.mode === GAME_MODE_CASUAL;
139const isPaused = () => state.menus.active === MENU_PAUSE;
140

Callers 4

renderMenusFunction · 0.85
tickFunction · 0.85
handleCanvasPointerDownFunction · 0.85
handleCanvasPointerUpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected