|
@ -47,7 +47,6 @@ public class GameUI implements ActionListener { |
|
|
protected JMenuItem saveItem; |
|
|
protected JMenuItem saveItem; |
|
|
protected JMenuItem quitItem; |
|
|
protected JMenuItem quitItem; |
|
|
protected JMenuItem aboutItem; |
|
|
protected JMenuItem aboutItem; |
|
|
//protected JMenuItem loginItem; |
|
|
|
|
|
|
|
|
|
|
|
protected JMenu gameMenu; |
|
|
protected JMenu gameMenu; |
|
|
protected JMenu helpMenu; |
|
|
protected JMenu helpMenu; |
|
@ -108,7 +107,7 @@ public class GameUI implements ActionListener { |
|
|
this.loadItem = new JMenuItem("Restore game"); |
|
|
this.loadItem = new JMenuItem("Restore game"); |
|
|
this.saveItem = new JMenuItem("Save game"); |
|
|
this.saveItem = new JMenuItem("Save game"); |
|
|
this.quitItem = new JMenuItem("Exit game"); |
|
|
this.quitItem = new JMenuItem("Exit game"); |
|
|
//this.loginItem = new JMenuItem("Login... P E N I S"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.playItem.addActionListener(this); |
|
|
this.playItem.addActionListener(this); |
|
|
this.loadItem.addActionListener(this); |
|
|
this.loadItem.addActionListener(this); |
|
@ -116,7 +115,7 @@ public class GameUI implements ActionListener { |
|
|
this.quitItem.addActionListener(this); |
|
|
this.quitItem.addActionListener(this); |
|
|
|
|
|
|
|
|
this.gameMenu = new JMenu("Game"); |
|
|
this.gameMenu = new JMenu("Game"); |
|
|
//this.gameMenu.add(loginItem); |
|
|
|
|
|
|
|
|
|
|
|
this.gameMenu.add(playItem); |
|
|
this.gameMenu.add(playItem); |
|
|
this.gameMenu.add(loadItem); |
|
|
this.gameMenu.add(loadItem); |
|
|
this.gameMenu.add(saveItem); |
|
|
this.gameMenu.add(saveItem); |
|
|