ggz.client.mod
Class Seat
java.lang.Object
ggz.client.mod.Seat
public class Seat
- extends java.lang.Object
A seat at a GGZ game table.
Each seat at the table is tracked like this.
Constructor Summary |
Seat(int num,
SeatType type,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Seat
public Seat(int num,
SeatType type,
java.lang.String name)
getNum
public int getNum()
getName
public java.lang.String getName()
getType
public SeatType getType()
getStat
public Stat getStat()
getInfo
public PlayerInfo getInfo()
- Gets extra information about this player. This will be null unless
ModGame.requestPlayerInfo(int)
has been called.
- Returns:
- the PlayerInfo object.
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object