From 83f8b8ab849b855fa87323ee1155dfd84d5596f6 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 5 Dec 2010 06:59:23 +0100 Subject: Test for concealed and extended kans. --- server/game.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'server/game.h') diff --git a/server/game.h b/server/game.h index f8d9ff4..bf7d37f 100644 --- a/server/game.h +++ b/server/game.h @@ -63,9 +63,12 @@ class Game : public boost::enable_shared_from_this { //! Check if tile can be called for a pon. int can_pon(Tile tile); - //! Check if it's possible to make a concealed kan or extend an open kan. + //! Check if it's possible to make a concealed kan. Targets can_kan(); + //! Check if it's possible to extend a pon to a kan. + Targets can_kan_extend(); + //! Check if tile can be called to kan target. bool can_kan(Tile tile, int target); -- cgit v1.2.3