|
@ -32,6 +32,7 @@ public class gui { |
|
|
|
|
|
|
|
|
public void createButtons() { |
|
|
public void createButtons() { |
|
|
StartBtn = new JButton("Starte Spiel"); |
|
|
StartBtn = new JButton("Starte Spiel"); |
|
|
|
|
|
StartBtn.addActionListener(new StartGameGui()); |
|
|
CloseBtn = new JButton("Schlieen"); |
|
|
CloseBtn = new JButton("Schlieen"); |
|
|
CloseBtn.addActionListener(new ActionHandler()); |
|
|
CloseBtn.addActionListener(new ActionHandler()); |
|
|
|
|
|
|
|
|