|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfeud.testgame.InfoLine
A simple key/value kind of bean that is used to transfer any kind of info.
Field Summary | |
static int |
PLAYER_ADDED
|
static int |
PLAYER_REMOVED
|
static int |
SCORE_TABLE
|
static int |
SYSTEM_OUT
|
Constructor Summary | |
InfoLine(int type,
int cnt,
java.lang.String key,
java.lang.String value)
Create a new InfoLine. |
Method Summary | |
int |
getCount()
Returns the counter |
java.lang.String |
getKey()
Returns the key |
int |
getType()
Returns the type |
java.lang.String |
getValue()
Returns the value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int PLAYER_ADDED
public static final int PLAYER_REMOVED
public static final int SCORE_TABLE
public static final int SYSTEM_OUT
Constructor Detail |
public InfoLine(int type, int cnt, java.lang.String key, java.lang.String value)
type
- int the type (see constants above)cnt
- int a counter valuekey
- String the keyvalue
- String the valueMethod Detail |
public java.lang.String getKey()
public java.lang.String getValue()
public int getType()
public int getCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |