|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCommand
GoCommand
public class GoCommand
Implementation of the 'go' user command.
Constructor Summary | |
---|---|
GoCommand()
Constructor for objects of class GoCommand |
Method Summary | |
---|---|
boolean |
execute(Player player)
Try to go to one direction. |
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 GoCommand()
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 |