|
|
@ -18,7 +18,7 @@ public class Program { |
|
|
|
|
|
|
|
public void startGame() { |
|
|
|
|
|
|
|
CreateAndShowGUI(); |
|
|
|
createAndShowGUI(); |
|
|
|
gameManager = new GameManager(); |
|
|
|
|
|
|
|
gameLoop(); |
|
|
@ -50,7 +50,7 @@ public class Program { |
|
|
|
input.inputList.clear(); |
|
|
|
} |
|
|
|
|
|
|
|
public void CreateAndShowGUI() { |
|
|
|
public void createAndShowGUI() { |
|
|
|
frame = new JFrame("PacmaaaAAAYYYHAAAaaam"); |
|
|
|
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); |
|
|
|
|
|
|
|