private static void onClickedSuicideButton(SleekButton button) { if ((Level.info != null && Level.info.type == ELevelType.SURVIVAL) || !Player.player.movement.isSafe || !Player.player.movement.isSafeInfo.noWeapons) { PlayerPauseUI.close(); Player.player.life.sendSuicide(); } }
private static void onClickedDisplayButton(SleekButton button) { PlayerPauseUI.close(); MenuConfigurationDisplayUI.open(); }
private static void onClickedControlsButton(SleekButton button) { PlayerPauseUI.close(); MenuConfigurationControlsUI.open(); }
private static void onClickedReturnButton(SleekButton button) { PlayerPauseUI.close(); PlayerLifeUI.open(); }