diff options
Diffstat (limited to 'server/player.h')
-rw-r--r-- | server/player.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/player.h b/server/player.h index cf98231..ea17926 100644 --- a/server/player.h +++ b/server/player.h @@ -2,6 +2,7 @@ #define PLAYER_H #include "client.h" +#include "score.h" #include "../common/set.h" #include "../common/cyclicint.h" @@ -100,6 +101,9 @@ class Player { //! Declare win on self-drawn tile. void declare_tsumo(); + + //! Calculate score for winning hand combination. + Score calculate_score(const Sets& hand, bool tsumo); }; #endif |