ggz.client.core
Class Player

java.lang.Object
  extended by ggz.client.core.Player

public class Player
extends java.lang.Object


Field Summary
 int forfeits
           
 int losses
           
static int NO_HIGHSCORE
           
static int NO_RANKING
           
static int NO_RATING
           
static int NO_RECORD
           
static java.util.Comparator SORT_BY_NAME
           
 int ties
           
 int wins
           
 
Constructor Summary
Player(java.lang.String name)
          Constructor used only by RoomChatPanel to calculate column widths.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int get_forfeits()
           
 int get_highscore()
           
 int get_lag()
           
 int get_losses()
           
 java.lang.String get_name()
           
 int get_ranking()
           
 int get_rating()
           
 Room get_room()
           
 Table get_table()
           
 int get_ties()
           
 PlayerType get_type()
           
 int get_wins()
           
 int hashCode()
          This is here only because the Java API says we should implement hashCode() if we implement equals().
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_RECORD

public static final int NO_RECORD
See Also:
Constant Field Values

NO_RATING

public static final int NO_RATING
See Also:
Constant Field Values

NO_RANKING

public static final int NO_RANKING
See Also:
Constant Field Values

NO_HIGHSCORE

public static final int NO_HIGHSCORE
See Also:
Constant Field Values

wins

public int wins

losses

public int losses

ties

public int ties

forfeits

public int forfeits

SORT_BY_NAME

public static final java.util.Comparator SORT_BY_NAME
Constructor Detail

Player

public Player(java.lang.String name)
Constructor used only by RoomChatPanel to calculate column widths.

Parameters:
name -
Method Detail

get_name

public java.lang.String get_name()

get_rating

public int get_rating()

get_ranking

public int get_ranking()

get_highscore

public int get_highscore()

get_wins

public int get_wins()

get_losses

public int get_losses()

get_ties

public int get_ties()

get_forfeits

public int get_forfeits()

get_type

public PlayerType get_type()

get_room

public Room get_room()

get_table

public Table get_table()

get_lag

public int get_lag()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
This is here only because the Java API says we should implement hashCode() if we implement equals().

Overrides:
hashCode in class java.lang.Object