@@ -0,0 +1,444 @@
+package main.game.input;%0A%0Aimport java.awt.event.KeyEvent;%0A%0Apublic enum KeyCustom %7B%0A%0A%09up(KeyEvent.VK_UP),%0A%09down(KeyEvent.VK_DOWN),%0A%09right(KeyEvent.VK_RIGHT),%0A%09left(KeyEvent.VK_LEFT);%0A%0A%09private int keyCode;%0A%0A%09private KeyCustom(int keyCode) %7B%0A%09%7D%0A%0A%09public void setKey(int keyCode) %7B%0A%09%09this.keyCode = keyCode;%0A%09%7D%0A%0A%09public int getKeyCode() %7B%0A%09%09return this.keyCode;%0A%09%7D%0A%09%0A%09public String getKeyName() %7B%0A%09%09return KeyEvent.getKeyText(this.keyCode);%0A%09%7D%0A%0A%7D%0A

Add KeyCustom