mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-30 20:34:27 +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 Bag& getBag() const { return m_bag; }
|
||||||
const Player& getPlayer(int iNum) const;
|
const Player& getPlayer(int iNum) const;
|
||||||
const Turn& getTurn(int iNum) const;
|
const Turn& getTurn(int iNum) const;
|
||||||
|
const Player& getCurrentPlayer() const { return getPlayer(currPlayer()); };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Saved games handling.
|
* Saved games handling.
|
||||||
|
|
Loading…
Add table
Reference in a new issue