KeyHandler is properly nested now

This commit is contained in:
Bokros Bálint 2016-05-13 17:10:02 +02:00
parent 3b5ef952bc
commit 76057a4712
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
public class Control {
public class KeyHandler extends KeyAdapter{
public static class KeyHandler extends KeyAdapter{
@Override
public void keyTyped(KeyEvent e) {
char c = e.getKeyChar();
@ -67,7 +67,6 @@ public class Control {
break;
}
Game.instance.updateDisplay();
}
}
}