Fix: toString refactor

This commit is contained in:
2026-06-14 17:51:58 +02:00
parent 8f92cb1594
commit b7ca7e7d31
18 changed files with 77 additions and 204 deletions
@@ -212,7 +212,7 @@ public class ClientLauncherTUI {
node("building"))),
node("totem"),
node("skip"),
node("render"),
node("clear"),
node("help"),
node("details", node("buildings"), node("events"), node("characters")),
node("rematch"),
@@ -245,8 +245,8 @@ public class ClientLauncherTUI {
if (pos >= 0) controller.totemChoice(pos);
}
case "skip" -> controller.skipTurn();
case "render" -> handleRender(parts);
case "help" -> gameReader.printAbove("Commands: slot, draw, totem, skip, render, help, details, rematch, quit");
case "clear" -> handleRender(parts);
case "help" -> gameReader.printAbove("Commands: slot, draw, totem, skip, clear, help, details, rematch, quit");
case "details" -> {
if (parts.length > 1 && parts[1].equalsIgnoreCase("buildings"))
gameReader.printAbove(BUILDING_DETAILS);