Skip to content
Snippets Groups Projects
Commit 0901a191 authored by Tamas Bunth's avatar Tamas Bunth
Browse files

turn on keyListening

parent f069d62c
Branches
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ class GameWindow extends JFrame implements KeyListener {
this.currColonelZPM = colonelZPM;
this.currJaffaZPM = jaffaZPM;
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.addKeyListener(this);
// set default text to labels in status bar at bottom
this.colonelStatus = new JLabel("Colonel lives: "+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment