- All Implemented Interfaces:
Command
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
QuitCommand
public QuitCommand(String[] arguments)
-
Method Details
-
execute
- Specified by:
execute in interface Command
- Parameters:
args - map of the arguments needed to execute a quit command
worldstate - the worldState that quit is being executed in
- Returns:
- the evaluated result of the quit command