public class Table
extends java.lang.Object
| Constructor and Description |
|---|
Table(GameType gametype,
java.lang.String desc,
int num_seats) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public Table(GameType gametype, java.lang.String desc, int num_seats)
public void set_seat(int index,
SeatType type,
java.lang.String name)
throws java.io.IOException
java.io.IOExceptionpublic Room get_room()
public int get_id()
public GameType get_type()
public java.lang.String get_desc()
public TableState get_state()
public int get_num_seats()
public int get_seat_count(SeatType type)
public TableSeat get_nth_seat(int num)
public java.lang.String get_nth_player_name(int num)
public SeatType get_nth_player_type(int num)
public int get_num_spectator_seats()
public TableSeat get_nth_spectator_seat(int num)
public java.lang.String get_nth_spectator_name(int num)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object