@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)
MessagePolicy
getProposalLang
in interface MessagePolicy
public java.lang.String getAcceptLang(History history, GameSpec game)
MessagePolicy
getAcceptLang
in interface MessagePolicy
public java.lang.String getRejectLang(History history, GameSpec game)
MessagePolicy
getRejectLang
in interface MessagePolicy
public java.lang.String getVHAcceptLang(History history, GameSpec game)
MessagePolicy
getVHAcceptLang
in interface MessagePolicy
public java.lang.String getVHRejectLang(History history, GameSpec game)
MessagePolicy
getVHRejectLang
in interface MessagePolicy
public java.lang.String getMessageResponse(History history, GameSpec game)
MessagePolicy
getMessageResponse
in interface MessagePolicy
public Event getVerboseMessageResponse(History history, GameSpec game, Event e)
MessagePolicy
getVerboseMessageResponse
in interface MessagePolicy
e
- the particular event to respond to