fixed bug that you can't leave pause mode
This commit is contained in:
@@ -69,6 +69,9 @@ public class KeyHandler implements KeyListener {
|
||||
}
|
||||
}
|
||||
break;
|
||||
case PAUSE:
|
||||
if(code == KeyEvent.VK_ESCAPE) panel.gameState = GameState.PLAY;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user