From 76057a47121831e6e7ee06b1c56f3d91f0af9cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bokros=20B=C3=A1lint?= Date: Fri, 13 May 2016 17:10:02 +0200 Subject: [PATCH] KeyHandler is properly nested now --- cicaprojekt/Control.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); - } } }