|
JSettlers v1.0.6 API Built ${date} |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsoc.message.SOCMessage
soc.message.SOCChoosePlayerRequest
This message asks a player to choose a player to steal from.
| Field Summary |
| Constructor Summary | |
SOCChoosePlayerRequest(java.lang.String ga,
boolean[] ch)
Create a ChoosePlayerRequest message. |
|
| Method Summary | |
boolean[] |
getChoices()
|
java.lang.String |
getGame()
|
static SOCChoosePlayerRequest |
parseDataStr(java.lang.String s)
Parse the command String into a ChoosePlayerRequest message |
java.lang.String |
toCmd()
CHOOSEPLAYERREQUEST sep game sep2 choices[0] sep2 choices[1] ... |
static java.lang.String |
toCmd(java.lang.String ga,
boolean[] ch)
CHOOSEPLAYERREQUEST sep game sep2 choices[0] sep2 choices[1] ... |
java.lang.String |
toString()
|
| Methods inherited from class soc.message.SOCMessage |
getType, toMsg |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SOCChoosePlayerRequest(java.lang.String ga,
boolean[] ch)
ga - the name of the gamech - the possible choices| Method Detail |
public java.lang.String getGame()
public boolean[] getChoices()
public java.lang.String toCmd()
toCmd in class SOCMessage
public static java.lang.String toCmd(java.lang.String ga,
boolean[] ch)
ga - the name of the gamech - the choices
public static SOCChoosePlayerRequest parseDataStr(java.lang.String s)
s - the String to parse
public java.lang.String toString()
|
JSettlers v1.0.6 API Built ${date} |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||