ggz.client.core
Class Table
java.lang.Object
ggz.client.core.Table
public class Table
- extends java.lang.Object
Constructor Summary |
Table(GameType gametype,
java.lang.String desc,
int num_seats)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Table
public Table(GameType gametype,
java.lang.String desc,
int num_seats)
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