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