public interface MessagePolicy
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAcceptLang(History history,
GameSpec game)
Returns the language to use when the VH offer is accepted, given a history.
|
java.lang.String |
getMessageResponse(History history,
GameSpec game)
Deprecated.
|
java.lang.String |
getProposalLang(History history,
GameSpec game)
Returns the language to use when making a proposal, given a history.
|
java.lang.String |
getRejectLang(History history,
GameSpec game)
Returns the language to use when the VH offer is rejected, given a history.
|
Event |
getVerboseMessageResponse(History history,
GameSpec game,
Event e)
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)
Returns the language to use when the Player offer is accepted, given a history.
|
java.lang.String |
getVHRejectLang(History history,
GameSpec game)
Returns the language to use when the Player offer is rejected, given a history.
|
java.lang.String getProposalLang(History history, GameSpec game)
history
- game
- java.lang.String getAcceptLang(History history, GameSpec game)
history
- game
- java.lang.String getRejectLang(History history, GameSpec game)
history
- game
- java.lang.String getVHAcceptLang(History history, GameSpec game)
history
- game
- java.lang.String getVHRejectLang(History history, GameSpec game)
history
- game
- @Deprecated java.lang.String getMessageResponse(History history, GameSpec game)
history
- game
-