|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Table | |
org.jogre.client | This package contains non-visual classes which only the client makes use of including the network connection, the game model and controller. |
org.jogre.client.awt | This package contains visual classes which aid the creation of games. |
org.jogre.common | This package contains classes which are common to both a client or a server. |
org.jogre.common.comm | This package contains a number of communication objects (communication classes start with Comm) amd two Interface's which describe the protocol. |
org.jogre.common.playerstate | This package implements the "state" design pattern for each player at a particular table to easily keep state such as sitting, standing, ready to player etc. |
Uses of Table in org.jogre.client |
Methods in org.jogre.client that return Table | |
Table |
TableConnectionThread.getTable()
Return the table associated with this table connection class. |
Table |
JogreController.getTable()
Convience method for returning a table. |
Uses of Table in org.jogre.client.awt |
Fields in org.jogre.client.awt declared as Table | |
protected Table |
JogreTableFrame.table
|
Methods in org.jogre.client.awt that return Table | |
Table |
JTableList.getSelectedTable()
Return a Table object of the current selected table. |
Methods in org.jogre.client.awt with parameters of type Table | |
protected JogreTableFrame |
JogreClientPanel.getTableFrame(Table table)
Return the correct JogreTableFrame. |
Constructors in org.jogre.client.awt with parameters of type Table | |
JAvailableSeats(Player player,
PlayerList players,
Table table)
Constructor which takes a username and a players object. |
Uses of Table in org.jogre.common |
Methods in org.jogre.common that return Table | |
Table |
TableList.getTable(int tableNum)
Return a Table object from a specified table number. |
Methods in org.jogre.common with parameters of type Table | |
void |
TableList.updateTable(int tableNum,
Table table)
Update a table in the table list. |
boolean |
Player.canSit(Table table)
Return true if a player can sit or not. |
boolean |
Player.canStand(Table table)
Returns true if a player can stand. |
boolean |
Player.canStart(Table table,
Game game)
Returns true if a player can sit. |
Uses of Table in org.jogre.common.comm |
Constructors in org.jogre.common.comm with parameters of type Table | |
CommJoinTable(String username,
Table table)
Constructor from the server to the joining client. |
Uses of Table in org.jogre.common.playerstate |
Methods in org.jogre.common.playerstate with parameters of type Table | |
boolean |
PlayerStateViewing.canSit(Table table)
A player can sit if the number of players already seated isn't greater than the maximum number of players allowed in this game. |
boolean |
PlayerStateViewing.canStand(Table table)
|
boolean |
PlayerStateViewing.canStart(Table table,
Game game)
|
boolean |
PlayerStateSeated.canStand(Table table)
Once seated a player can stand back up again. |
boolean |
PlayerStateSeated.canStart(Table table,
Game game)
A player can start if the minimum number of players are seated or are ready to start. |
boolean |
PlayerStateSeated.canSit(Table table)
|
boolean |
PlayerStateReady.canSit(Table table)
|
boolean |
PlayerStateReady.canStand(Table table)
|
boolean |
PlayerStateReady.canStart(Table table,
Game game)
|
boolean |
PlayerStateGameStarted.canSit(Table table)
|
boolean |
PlayerStateGameStarted.canStand(Table table)
|
boolean |
PlayerStateGameStarted.canStart(Table table,
Game game)
|
abstract boolean |
PlayerState.canSit(Table table)
Returns true if a user can sit. |
abstract boolean |
PlayerState.canStand(Table table)
Returns true if a user can stand. |
abstract boolean |
PlayerState.canStart(Table table,
Game game)
Returns true if a user can hit the start. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |