MCPcopy Create free account
hub / github.com/demoth/jake2 / Quit_Key

Method Quit_Key

client/src/main/java/jake2/client/Menu.java:4051–4071  ·  view source on GitHub ↗
(int key)

Source from the content-addressed store, hash-verified

4049 */
4050
4051 private static String Quit_Key(int key) {
4052 switch (key) {
4053 case K_ESCAPE:
4054 case 'n':
4055 case 'N':
4056 PopMenu();
4057 break;
4058
4059 case 'Y':
4060 case 'y':
4061 ClientGlobals.cls.key_dest = key_console;
4062 CL.Quit_f.execute(Collections.emptyList());
4063 break;
4064
4065 default:
4066 break;
4067 }
4068
4069 return null;
4070
4071 }
4072
4073 private static void Quit_Draw() {
4074 int w, h;

Callers 1

executeMethod · 0.95

Calls 2

PopMenuMethod · 0.95
executeMethod · 0.65

Tested by

no test coverage detected