mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-17 06:11:49 +01:00
- adding shortcut for getCurrentPlayer()
This commit is contained in:
parent
f3ee945b91
commit
504198b8ff
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue