|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCommand
QuitCommand
public class QuitCommand
Implementation of the 'quit' user command.
Constructor Summary | |
---|---|
QuitCommand()
Constructor for objects of class QuitCommand |
Method Summary | |
---|---|
boolean |
execute(Player player)
"Quit" was entered. |
Methods inherited from class Command |
---|
getSecondWord, hasSecondWord, setSecondWord |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuitCommand()
Method Detail |
---|
public boolean execute(Player player)
execute
in class Command
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |