public class Player
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
Player(java.lang.String name)
Constructor used only by RoomChatPanel to calculate column widths.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public static final int NO_RECORD
public static final int NO_RATING
public static final int NO_RANKING
public static final int NO_HIGHSCORE
public int wins
public int losses
public int ties
public int forfeits
public static final java.util.Comparator SORT_BY_NAME
public Player(java.lang.String name)
name - public java.lang.String get_name()
public int get_rating()
public int get_ranking()
public int get_highscore()
public int get_wins()
public int get_losses()
public int get_ties()
public int get_forfeits()
public PlayerType get_type()
public Room get_room()
public Table get_table()
public int get_lag()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object