ggz.cards.client
Class Player

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

public class Player
extends java.lang.Object

A "player" as seen by the client is really just a seat at the table, complete with a hand and everything. It's not necessary that a player actually be sitting at that seat - there may just be a pile of cards.


Constructor Summary
Player()
           
 
Method Summary
 Bid getBid()
           
 int getGGZSeatNum()
          The seat number as recorded by GGZ.
 java.util.List getHand()
           
 java.lang.String getName()
           
 SeatType getSeatType()
           
 Card getTableCard()
           
 int getTeam()
           
 int getTricks()
           
 boolean isBidding()
           
 boolean isPlaying()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Player

public Player()
Method Detail

getName

public java.lang.String getName()

getHand

public java.util.List getHand()

getTableCard

public Card getTableCard()

getSeatType

public SeatType getSeatType()

getBid

public Bid getBid()

getTeam

public int getTeam()

isBidding

public boolean isBidding()

isPlaying

public boolean isPlaying()

getTricks

public int getTricks()

getGGZSeatNum

public int getGGZSeatNum()
The seat number as recorded by GGZ. Game seat numbers are from the perspective of each client, this give the "absolute" number and is the number that should be used for reseat requests.

Returns: