diff options
Diffstat (limited to 'server/player.h')
-rw-r--r-- | server/player.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/player.h b/server/player.h index d5ca4e6..a4b3416 100644 --- a/server/player.h +++ b/server/player.h @@ -28,6 +28,9 @@ class Player { //! Player has won. bool won; + //! List of han in winning hand. + List<std::pair<std::string, int> > won_han; + //! Value of winning hand. Score won_value; @@ -109,7 +112,7 @@ class Player { void declare_tsumo(); //! Calculate score for winning hand combination. - Score calculate_score(const Sets& hand, bool tsumo); + Score calculate_score(const Sets& hand, List<std::pair<std::string, int> >& han, bool tsumo); }; #endif |