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

Function isInGame

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

Source from the content-addressed store, hash-verified

134////////////////////////////
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;

Callers 5

block_ninja.jsFile · 0.85
incrementScoreFunction · 0.85
incrementCubeCountFunction · 0.85
pauseGameFunction · 0.85
tickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected