diff options
Diffstat (limited to 'server/game.h')
-rw-r--r-- | server/game.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/server/game.h b/server/game.h index 0c47917..9d795a4 100644 --- a/server/game.h +++ b/server/game.h @@ -59,8 +59,14 @@ class Game : public boost::enable_shared_from_this<Game> { //! Handle actions after discard. void handle_action_discard(Action action, int player); - //! End the game. - void round_end(); + enum Endcondition { + Draw, + Tsumo, + Ron + }; + + //! End the round. + void round_end(Endcondition end); }; #endif |