- adding shortcut for getCurrentPlayer()

This commit is contained in:
Antoine Fraboulet 2005-12-26 18:09:52 +00:00
parent f3ee945b91
commit 504198b8ff

View file

@ -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.