MCPcopy Create free account
hub / github.com/Card-Forge/forge / showMenu

Method showMenu

forge-gui-mobile/src/forge/Forge.java:595–604  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

593 }
594 }
595 public static void showMenu() {
596 if (isMobileAdventureMode)
597 return;
598 if (currentScreen == null)
599 return;
600 endKeyInput(); //end key input before menu shown
601 if (FOverlay.getTopOverlay() == null) { //don't show menu if overlay open
602 currentScreen.showMenu();
603 }
604 }
605
606 public static boolean onHomeScreen() {
607 return currentScreen == HomeScreen.instance;

Callers 1

keyDownMethod · 0.45

Calls 2

endKeyInputMethod · 0.95
getTopOverlayMethod · 0.95

Tested by

no test coverage detected