private class MovesCommandFactory.RoadBuildingBuilder extends CookieBuilder
Modifier and Type | Field and Description |
---|---|
private Coordinate |
end1 |
private Coordinate |
end2 |
private Coordinate |
start1 |
private Coordinate |
start2 |
cookie, playerIndex
Modifier | Constructor and Description |
---|---|
private |
RoadBuildingBuilder() |
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 start1
private Coordinate end1
private Coordinate start2
private Coordinate end2
public ICommand BuildCommand()
ICommandBuilder
public void SetData(java.lang.String object)
ICommandBuilder
object
- Serialized object data.