ajouté classe Menu
This commit is contained in:
@@ -91,6 +91,10 @@ std::vector<std::vector<Block>> Board::getBlocks() const {
|
||||
return this->grid;
|
||||
}
|
||||
|
||||
int Board::getWidth() const {
|
||||
return this->width;
|
||||
}
|
||||
|
||||
int Board::getGridHeight() const {
|
||||
return this->grid.size();
|
||||
}
|
||||
@@ -99,10 +103,6 @@ int Board::getBaseHeight() const {
|
||||
return this->height;
|
||||
}
|
||||
|
||||
int Board::getWidth() const {
|
||||
return this->width;
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const Board& board) {
|
||||
for (int y = board.grid.size() - 1; y >= 0; y--) {
|
||||
for (int x = 0; x < board.width; x++) {
|
||||
|
||||
Reference in New Issue
Block a user