public class GoCommand extends Command
Constructor and Description |
---|
GoCommand()
Constructor for objects of class GoCommand
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
execute(Player player)
Try to go to one direction.
|
getSecondWord, hasSecondWord, setSecondWord
public java.lang.String execute(Player player)