|
Class Summary |
| Comb |
The Comb class forms the storage for a single combination
extracted from the concealed hand. |
| CombList |
SRS 4.3.1, 4.3.7, 4.3.8
The CombList class' main responsibility will be to search
through the entire concealed hand of a Player and extract all
the possible combinations that the hand can take.
Taking a Player's concealed hand, CombList will
search across the hand until a tile has been found. |
| Game |
SRS - 4.3.3, 4.3.6, 4.3.7, 4.3.8, 4.4.1, 4.4.2, 4.4.3, 4.2.3
The Game class has the responsibility of running and
controlling an entire Mahjong hand by continuously running a loop
that directs play.
The Game is initialised at the beginning with all game
related information taken from the Registrar. |
| Hand |
SRS - 4.3.1, 4.3.2, 4.3.4, 4.3.5, 4.3.6
The Hand class represents the full hand of a player(this
includes both concealed and exposed) in the Game of mahjong. |
| Human |
The Human class represents the user on the MMC of the current
game thread. |
| HumanDiscard |
HumanDiscard synchronises the interaction between the
Game and PlayArea when the user must select to
declare Kong, extend a Pung or discard. |
| HumanSelection |
HumanSelection synchronises the interaction between the
Game and ActionPane when the user must make a
selection on their next move. |
| Payout |
The Payout class is used for two purposes. |
| PayoutGUI |
The PayoutGUI class is used to display a breakdown of the
scoring information for the winning player's hand, and also the payouts
made to the winner from all losing players. |
| PayoutInfo |
The PayoutInfo class acts as an interpreter between the
Payout object and the PayoutGUI object. |
| Player |
SRS - 4.2.2.1, 4.2.2.2.
This class forms the representation of a player in the game of mahjong. |
| RetrieveMove |
RetrieveMove synchronises the interaction between
Referee and the Game. |
| RetrieveRobKong |
RetrieveRobKong synchronises the interaction between
Referee and the Game. |
| RetrieveSelection |
RetrieveSelection synchronises the interaction between
Referee and the Game. |
| Set |
Set represent a single group of tiles in a player's hands. |