|
Class Summary |
| Const |
This class just defines various constants that are shared between classes. |
| GamesObserver |
GamesObserver extends the Observer class and keeps the
MultiGameJoiner updated about any changes in the list of games
on the MMS. |
| MiniGame |
MiniGame is a minimal representation of a game used for transmitting
between the MMC and MMS via RMI. |
| MiniPlayer |
MiniPlayer is a minimal representation of a player used for transmitting
between the MMC and MMS via RMI. |
| Moves |
The Moves class forms the storage unit to be sent to the
Referee, and is to be retrieved by other MMC to receive
all the necessary information that will keep them update to date. |
| Observer |
The Observer acts as a connection between the Referee
and the Game classes whenever the Referee
needs to send information to inform the Game of a change in
the situation. |
| PlayersObserver |
PlayersObserver extends the Observer class and keeps the
MultiGameStarter updated about any players that have joined the
game that was created. |
| Referee |
Referee is in charge of initialising the game and delivering the moves to
each player. |
| RegistrarImpl |
RegistrarImpl implements the Registrar interface and handles all
requests by MMCs to create and join multi player games. |
| RemoteReferee |
RemoteReferee extends Referee and provides extra functionality
for adding players and starting the game remotely (ie from the MMC). |
| StartGameSynch |
StartGameSynch is just a class that provides for a synchronization object
when creating a game. |
| Tile |
Representation of a physical Mahjong tile. |
| Wall |
This forms the representation of the wall in a game of Mahjong. |