summaryrefslogtreecommitdiff
path: root/server/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/player.h')
-rw-r--r--server/player.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/player.h b/server/player.h
index ea17926..d5ca4e6 100644
--- a/server/player.h
+++ b/server/player.h
@@ -25,6 +25,12 @@ class Player {
//! Indexes of tiles that will give tenpai (used after riichi declaration).
List<int> tenpai_indexes;
+ //! Player has won.
+ bool won;
+
+ //! Value of winning hand.
+ Score won_value;
+
//! Prepare for a new round.
void round_start(int w);