示例#1
0
 @Override
 public void keyReleased(KeyEvent arg0) {
   GameName.getInstance().currentGui.onUnType(arg0.getKeyCode());
   key[arg0.getKeyCode()] = false;
 }
示例#2
0
 @Override
 public void keyPressed(KeyEvent arg0) {
   GameName.getInstance().currentGui.onType(arg0.getKeyCode());
   key[arg0.getKeyCode()] = true;
 }