ggz.client.mod
Class Seat

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 PlayerInfo getInfo()
          Gets extra information about this player.
 java.lang.String getName()
           
 int getNum()
           
 Stat getStat()
           
 SeatType getType()
           
 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
 

Constructor Detail

Seat

public Seat(int num,
            SeatType type,
            java.lang.String name)
Method Detail

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