Browse Source

Added ProcessInput function placeholder to GameManager

remotes/origin/menu
fdai7012 11 months ago
committed by Julian
parent
commit
d006ccf0b9
  1. 9
      src/main/java/pacmanGame/GameManager.java

9
src/main/java/pacmanGame/GameManager.java

@ -16,4 +16,13 @@ public class GameManager {
time++; time++;
} }
public void ProcessInput(char inputChar) {
if(inputChar == 27) {
//todo: escape key pauses game
}
else {
System.out.println("Unprocessed Input: " + inputChar + " (" + (int)inputChar + ")");
}
}
} }
Loading…
Cancel
Save