pick 97420a31d The big reformat of 2020
This commit is contained in:
@@ -1,27 +1,22 @@
|
||||
|
||||
package appeng.client;
|
||||
|
||||
|
||||
import org.lwjgl.glfw.GLFW;
|
||||
|
||||
public enum ActionKey
|
||||
{
|
||||
TOGGLE_FOCUS( GLFW.GLFW_KEY_TAB );
|
||||
public enum ActionKey {
|
||||
TOGGLE_FOCUS(GLFW.GLFW_KEY_TAB);
|
||||
|
||||
private final int defaultKey;
|
||||
private final int defaultKey;
|
||||
|
||||
private ActionKey( int defaultKey )
|
||||
{
|
||||
this.defaultKey = defaultKey;
|
||||
}
|
||||
private ActionKey(int defaultKey) {
|
||||
this.defaultKey = defaultKey;
|
||||
}
|
||||
|
||||
public String getTranslationKey()
|
||||
{
|
||||
return "key." + this.name().toLowerCase() + ".desc";
|
||||
}
|
||||
public String getTranslationKey() {
|
||||
return "key." + this.name().toLowerCase() + ".desc";
|
||||
}
|
||||
|
||||
public int getDefaultKey()
|
||||
{
|
||||
return this.defaultKey;
|
||||
}
|
||||
public int getDefaultKey() {
|
||||
return this.defaultKey;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user