Browse Source

Added answers for the other commands during combat

remotes/origin/fight-engine
fdai7430 2 years ago
parent
commit
0fbbac75bc
  1. 13
      src/main/java/org/bitbiome/commands/UseCommand.java

13
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;

Loading…
Cancel
Save