private class MovesCommandFactory.OfferTradeBuilder extends CookieBuilder
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.Integer> |
offer |
private int |
receiverIndex |
cookie, playerIndex
Modifier | Constructor and Description |
---|---|
private |
OfferTradeBuilder() |
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 int receiverIndex
private java.util.List<java.lang.Integer> offer
public ICommand BuildCommand()
ICommandBuilder
public void SetData(java.lang.String object)
ICommandBuilder
object
- Serialized object data.