private class MovesCommandFactory.BuildRoadBuilder extends CookieBuilder
Modifier and Type | Field and Description |
---|---|
private Coordinate |
end |
private boolean |
free |
private Coordinate |
start |
cookie, playerIndex
Modifier | Constructor and Description |
---|---|
private |
BuildRoadBuilder() |
Modifier and Type | Method and Description |
---|---|
ICommand |
BuildCommand()
Builds a command.
|
void |
SetData(java.lang.String object)
The serialized data that needs passed to the command.
|
SetCookie
private Coordinate start
private Coordinate end
private boolean free
public ICommand BuildCommand()
ICommandBuilder
public void SetData(java.lang.String object)
ICommandBuilder
object
- Serialized object data.