ggz.client.core
Class Table

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

public class Table
extends java.lang.Object


Constructor Summary
Table(GameType gametype, java.lang.String desc, int num_seats)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String get_desc()
           
 int get_id()
           
 java.lang.String get_nth_player_name(int num)
           
 SeatType get_nth_player_type(int num)
           
 TableSeat get_nth_seat(int num)
           
 java.lang.String get_nth_spectator_name(int num)
           
 TableSeat get_nth_spectator_seat(int num)
           
 int get_num_seats()
           
 int get_num_spectator_seats()
           
 Room get_room()
           
 int get_seat_count(SeatType type)
           
 TableState get_state()
           
 GameType get_type()
           
 int hashCode()
          This is here only because the Java API says we should implement hashCode() if we implement equals().
 void set_seat(int index, SeatType type, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table

public Table(GameType gametype,
             java.lang.String desc,
             int num_seats)
Method Detail

set_seat

public void set_seat(int index,
                     SeatType type,
                     java.lang.String name)
              throws java.io.IOException
Throws:
java.io.IOException

get_room

public Room get_room()

get_id

public int get_id()

get_type

public GameType get_type()

get_desc

public java.lang.String get_desc()

get_state

public TableState get_state()

get_num_seats

public int get_num_seats()

get_seat_count

public int get_seat_count(SeatType type)

get_nth_seat

public TableSeat get_nth_seat(int num)

get_nth_player_name

public java.lang.String get_nth_player_name(int num)

get_nth_player_type

public SeatType get_nth_player_type(int num)

get_num_spectator_seats

public int get_num_spectator_seats()

get_nth_spectator_seat

public TableSeat get_nth_spectator_seat(int num)

get_nth_spectator_name

public java.lang.String get_nth_spectator_name(int num)

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