diff --git a/src/main/java/org/bitbiome/commands/QuitCommand.java b/src/main/java/org/bitbiome/commands/QuitCommand.java index 25dbb00..258ab1a 100644 --- a/src/main/java/org/bitbiome/commands/QuitCommand.java +++ b/src/main/java/org/bitbiome/commands/QuitCommand.java @@ -6,6 +6,10 @@ import java.util.Scanner; public class QuitCommand implements CommandAPI { + // This command is used to end the game via command + // When the player quits the game, the game is stopped through System.exit(0) + // That means it is exited with no error status + @Override public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine travelEngine) { System.out.println(getQuitMessage());