|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--au.com.solidsoftware.multimahjong.shared.MiniGame
MiniGame is a minimal representation of a game used for transmitting between the MMC and MMS via RMI. It is just a data structure and as such, it just contains a constructor to initialise the data and public fields to store the data.
| Field Summary | |
int |
limit
The score limit of the game. |
java.lang.String |
ownerName
The name of the player who created the game. |
int |
waitingToJoin
The number of players that can join this game. |
| Constructor Summary | |
MiniGame(java.lang.String name,
int limit)
Initialises the name, limit and number of players available to join in the game. |
|
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public java.lang.String ownerName
public int limit
public int waitingToJoin
| Constructor Detail |
public MiniGame(java.lang.String name,
int limit)
name - the name of the player who created the gamelimit - the score limit of the game
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||