|
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.SOCGameStats
This message contains the scores for the people at a game. Used for displaying games in the player client list.
| Field Summary |
| Constructor Summary | |
SOCGameStats(java.lang.String ga,
int[] sc,
boolean[] rb)
Create a GameStats message |
|
| Method Summary | |
java.lang.String |
getGame()
|
boolean[] |
getRobotSeats()
|
int[] |
getScores()
|
static SOCGameStats |
parseDataStr(java.lang.String s)
Parse the command String into a GameStatss message |
java.lang.String |
toCmd()
Converts the contents of this message into a String that can be transferred by a client or server. |
static java.lang.String |
toCmd(java.lang.String ga,
int[] sc,
boolean[] rb)
|
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 SOCGameStats(java.lang.String ga,
int[] sc,
boolean[] rb)
ga - the name of the gamesc - the scoresrb - where robots are sitting| Method Detail |
public java.lang.String getGame()
public int[] getScores()
public boolean[] getRobotSeats()
public java.lang.String toCmd()
SOCMessage
toCmd in class SOCMessage
public static java.lang.String toCmd(java.lang.String ga,
int[] sc,
boolean[] rb)
ga - the name of the gamesc - the scoresrb - where robots are sitting
public static SOCGameStats 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 | |||||||||