feud.testgame
Class InfoLine

java.lang.Object
  extended byfeud.testgame.InfoLine

public class InfoLine
extends java.lang.Object

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

PLAYER_ADDED

public static final int PLAYER_ADDED
See Also:
Constant Field Values

PLAYER_REMOVED

public static final int PLAYER_REMOVED
See Also:
Constant Field Values

SCORE_TABLE

public static final int SCORE_TABLE
See Also:
Constant Field Values

SYSTEM_OUT

public static final int SYSTEM_OUT
See Also:
Constant Field Values
Constructor Detail

InfoLine

public InfoLine(int type,
                int cnt,
                java.lang.String key,
                java.lang.String value)
Create a new InfoLine.

Parameters:
type - int the type (see constants above)
cnt - int a counter value
key - String the key
value - String the value
Method Detail

getKey

public java.lang.String getKey()
Returns the key

Returns:
String the key

getValue

public java.lang.String getValue()
Returns the value

Returns:
String the value

getType

public int getType()
Returns the type

Returns:
int the type

getCount

public int getCount()
Returns the counter

Returns:
int the counter's value