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

Method Keydown

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

Source from the content-addressed store, hash-verified

4147 * ================= Keydown =================
4148 */
4149 static void Keydown(int key) {
4150 String s;
4151
4152 if (m_keyfunc != null)
4153 if ((s = m_keyfunc.execute(key)) != null)
4154 S.StartLocalSound(s);
4155 }
4156
4157 private static void Action_DoEnter(menuaction_s a) {
4158 if (a.callback != null)

Callers 1

EventMethod · 0.95

Calls 2

StartLocalSoundMethod · 0.95
executeMethod · 0.65

Tested by

no test coverage detected