From 504198b8ff9653763f2d20573e371de382ff23c5 Mon Sep 17 00:00:00 2001 From: Antoine Fraboulet Date: Mon, 26 Dec 2005 18:09:52 +0000 Subject: [PATCH] - adding shortcut for getCurrentPlayer() --- game/game.h | 1 + 1 file changed, 1 insertion(+) diff --git a/game/game.h b/game/game.h index 48534a5..1a546e3 100644 --- a/game/game.h +++ b/game/game.h @@ -89,6 +89,7 @@ public: const Bag& getBag() const { return m_bag; } const Player& getPlayer(int iNum) const; const Turn& getTurn(int iNum) const; + const Player& getCurrentPlayer() const { return getPlayer(currPlayer()); }; /** * Saved games handling.