Пример #1
0
 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();
     }
 }
Пример #2
0
 private static void onClickedDisplayButton(SleekButton button)
 {
     PlayerPauseUI.close();
     MenuConfigurationDisplayUI.open();
 }
Пример #3
0
 private static void onClickedControlsButton(SleekButton button)
 {
     PlayerPauseUI.close();
     MenuConfigurationControlsUI.open();
 }
Пример #4
0
 private static void onClickedReturnButton(SleekButton button)
 {
     PlayerPauseUI.close();
     PlayerLifeUI.open();
 }