From 0fbbac75bc5d9ded5ce057b37315885e3bde55d8 Mon Sep 17 00:00:00 2001 From: fdai7430 Date: Sat, 4 Feb 2023 19:52:58 +0100 Subject: [PATCH] Added answers for the other commands during combat --- src/main/java/org/bitbiome/commands/UseCommand.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/java/org/bitbiome/commands/UseCommand.java b/src/main/java/org/bitbiome/commands/UseCommand.java index 8d3a496..6c0887a 100644 --- a/src/main/java/org/bitbiome/commands/UseCommand.java +++ b/src/main/java/org/bitbiome/commands/UseCommand.java @@ -44,6 +44,19 @@ private boolean combat = false; break COMBAT_LOOP; } break; + case "help": + new HelpCommand().performCommand(scanner, isRunning, message, engine); + break; + case "exit": + case "quit": + System.out.println("You cannot quit while in combat."); + break; + case "location": + new LocationCommand().performCommand(scanner, isRunning, message, engine); + break; + case "travel": + System.out.println("You cannot travel while in combat."); + break; default: System.out.println("That is not a valid command."); break;