diff --git a/cicaprojekt/Control.java b/cicaprojekt/Control.java index bda939c..d3eb8de 100644 --- a/cicaprojekt/Control.java +++ b/cicaprojekt/Control.java @@ -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(); - } } }