Small commit while writing tests

This commit is contained in:
2025-12-03 20:33:11 +01:00
parent 0db43fe51a
commit 7201f66214
4 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package hhn.temp.project;
import java.util.Scanner;
public class UserCommands {
public void start() {
boolean close = false;
Scanner scanner = new Scanner(System.in);
while (!close) {
System.out.println("Type '?' or 'help' for a list of commands");
System.out.println("Please enter a command:");
String input = scanner.nextLine();
handleInput(input);
}
scanner.close();
}
public void handleInput(String input) {
}
}