23 lines
417 B
Java
23 lines
417 B
Java
|
|
package appeng.client;
|
|
|
|
import org.lwjgl.glfw.GLFW;
|
|
|
|
public enum ActionKey {
|
|
TOGGLE_FOCUS(GLFW.GLFW_KEY_TAB);
|
|
|
|
private final int defaultKey;
|
|
|
|
private ActionKey(int defaultKey) {
|
|
this.defaultKey = defaultKey;
|
|
}
|
|
|
|
public String getTranslationKey() {
|
|
return "key." + this.name().toLowerCase() + ".desc";
|
|
}
|
|
|
|
public int getDefaultKey() {
|
|
return this.defaultKey;
|
|
}
|
|
}
|