public class QuitCommand extends Command
| Constructor and Description |
|---|
QuitCommand()
Constructor for objects of class QuitCommand
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(Player player)
"Quit" was entered.
|
getSecondWord, hasSecondWord, setSecondWordpublic boolean execute(Player player)