diff --git a/src/main/java/pacmanGame/GameManager.java b/src/main/java/pacmanGame/GameManager.java index d7b9406..6814cf1 100644 --- a/src/main/java/pacmanGame/GameManager.java +++ b/src/main/java/pacmanGame/GameManager.java @@ -92,7 +92,7 @@ public class GameManager { return fruitTypes[randomNumber]; } - public void ProcessInput(char inputChar) { + public void processInput(char inputChar) { if(inputChar == 27) {// 27 = ESC TogglePause(); } diff --git a/src/main/java/pacmanGame/Program.java b/src/main/java/pacmanGame/Program.java index df6cdf2..9fdd07c 100644 --- a/src/main/java/pacmanGame/Program.java +++ b/src/main/java/pacmanGame/Program.java @@ -44,7 +44,7 @@ public class Program { public void forwardInputToGameManager() { try { for (char inputChar : input.inputList) { - gameManager.ProcessInput(inputChar); + gameManager.processInput(inputChar); } } catch (Exception e) {} input.inputList.clear();