MCPcopy Create free account
hub / github.com/agateau/pixelwheels / showMainMenu

Method showMainMenu

core/src/com/agateau/pixelwheels/PwGame.java:226–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

224 }
225
226 public void showMainMenu() {
227 mScreenStack.clear();
228 mAudioManager.playMusic(Assets.MENU_MUSIC_ID);
229 Screen screen;
230 if (Constants.DEBUG_SCREEN.startsWith("Unlocked")) {
231 screen = UnlockedRewardScreen.createDebugScreen(this);
232 } else {
233 screen = new MainMenuScreen(this);
234 }
235 mScreenStack.push(screen);
236 }
237
238 public void showQuickRace(int playerCount) {
239 mMaestro = new QuickRaceMaestro(this, playerCount);

Callers 8

createMethod · 0.95
onQuitPressedMethod · 0.80
onNextTrackPressedMethod · 0.80
onQuitPressedMethod · 0.80
onNextPressedMethod · 0.80
refreshMethod · 0.80
triggeredMethod · 0.80
onBackPressedMethod · 0.80

Calls 4

createDebugScreenMethod · 0.95
pushMethod · 0.80
playMusicMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected