From d006ccf0b93c304868868ca1b0d93f83158ba632 Mon Sep 17 00:00:00 2001 From: fdai7012 Date: Wed, 17 Jan 2024 17:25:05 +0100 Subject: [PATCH] Added ProcessInput function placeholder to GameManager --- src/main/java/pacmanGame/GameManager.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/pacmanGame/GameManager.java b/src/main/java/pacmanGame/GameManager.java index 24c070c..33679d5 100644 --- a/src/main/java/pacmanGame/GameManager.java +++ b/src/main/java/pacmanGame/GameManager.java @@ -16,4 +16,13 @@ public class GameManager { time++; } + + public void ProcessInput(char inputChar) { + if(inputChar == 27) { + //todo: escape key pauses game + } + else { + System.out.println("Unprocessed Input: " + inputChar + " (" + (int)inputChar + ")"); + } + } }