@Deprecated public class IAGODefaultMessage extends java.lang.Object implements MessagePolicy
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
acceptResponse
Deprecated.
|
protected java.lang.String[] |
messageResponse
Deprecated.
|
protected java.lang.String[] |
proposal
Deprecated.
|
protected java.lang.String[] |
rejectResponse
Deprecated.
|
protected java.lang.String[] |
vhAccept
Deprecated.
|
protected java.lang.String[] |
vhReject
Deprecated.
|
| Constructor and Description |
|---|
IAGODefaultMessage()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAcceptLang(History history,
GameSpec game)
Deprecated.
Returns the language to use when the VH offer is accepted, given a history.
|
java.lang.String |
getMessageResponse(History history,
GameSpec game)
Deprecated.
Gives the message response when given a history.
|
java.lang.String |
getProposalLang(History history,
GameSpec game)
Deprecated.
Returns the language to use when making a proposal, given a history.
|
java.lang.String |
getRejectLang(History history,
GameSpec game)
Deprecated.
Returns the language to use when the VH offer is rejected, given a history.
|
Event |
getVerboseMessageResponse(History history,
GameSpec game,
Event e)
Deprecated.
Gives the message response to a particular event in a history in the form of an event
|
java.lang.String |
getVHAcceptLang(History history,
GameSpec game)
Deprecated.
Returns the language to use when the Player offer is accepted, given a history.
|
java.lang.String |
getVHRejectLang(History history,
GameSpec game)
Deprecated.
Returns the language to use when the Player offer is rejected, given a history.
|
protected final java.lang.String[] proposal
protected final java.lang.String[] acceptResponse
protected final java.lang.String[] rejectResponse
protected final java.lang.String[] vhReject
protected final java.lang.String[] vhAccept
protected final java.lang.String[] messageResponse
public java.lang.String getProposalLang(History history, GameSpec game)
MessagePolicygetProposalLang in interface MessagePolicypublic java.lang.String getAcceptLang(History history, GameSpec game)
MessagePolicygetAcceptLang in interface MessagePolicypublic java.lang.String getRejectLang(History history, GameSpec game)
MessagePolicygetRejectLang in interface MessagePolicypublic java.lang.String getVHAcceptLang(History history, GameSpec game)
MessagePolicygetVHAcceptLang in interface MessagePolicypublic java.lang.String getVHRejectLang(History history, GameSpec game)
MessagePolicygetVHRejectLang in interface MessagePolicypublic java.lang.String getMessageResponse(History history, GameSpec game)
MessagePolicygetMessageResponse in interface MessagePolicypublic Event getVerboseMessageResponse(History history, GameSpec game, Event e)
MessagePolicygetVerboseMessageResponse in interface MessagePolicye - the particular event to respond to