lint/style changes
This commit is contained in:
parent
4404eb21e9
commit
8736aee27c
@ -22,7 +22,9 @@ public:
|
||||
bool takeTilesFromPool(azool::TileColor color, int& numTiles, bool& poolPenalty);
|
||||
void returnTilesToBag(int numTiles, azool::TileColor color);
|
||||
void dealTiles();
|
||||
int numFactories() { return tileFactories.size(); }
|
||||
int numFactories() {
|
||||
return tileFactories.size();
|
||||
}
|
||||
bool endOfRound() {
|
||||
// round ends when the pool and tile factories are empty
|
||||
for (int ii = 0; ii < azool::NUMCOLORS; ++ii) {
|
||||
|
@ -15,10 +15,16 @@ public:
|
||||
void placeTiles(int rowIdx, azool::TileColor color, int numTiles);
|
||||
void endRound(bool& fullRow);
|
||||
void finalizeScore();
|
||||
int getScore() const { return myScore; }
|
||||
int getScore() const {
|
||||
return myScore;
|
||||
}
|
||||
std::string printMyBoard() const;
|
||||
bool tookPenalty() const { return myTookPoolPenaltyThisRound; }
|
||||
const std::string getPlayerName() const { return myName; }
|
||||
bool tookPenalty() const {
|
||||
return myTookPoolPenaltyThisRound;
|
||||
}
|
||||
const std::string getPlayerName() const {
|
||||
return myName;
|
||||
}
|
||||
|
||||
private:
|
||||
Player(const Player&) = delete;
|
||||
|
Loading…
x
Reference in New Issue
Block a user