Quit
Quits the game and returns you to the terminal input.
!!DOES NOT SAVE THE GAME IN ANY WAY!!
implements:
parser.commands.Command;
Contents
Constructors
Quit(String name, String description)
Create a new quit command with the given name
and description
help text.
Methods
void invoke(String[] parts, Player p, Map m)
Quits the currently running game by invoking System.exit(0)
.
boolean equals(String name)
True if this command’s name equals name
; false otherwise.