ajouté interface textuelle
This commit is contained in:
@@ -87,7 +87,7 @@ Block Board::getBlock(const Position& position) const {
|
||||
return this->grid.at(position.y).at(position.x);
|
||||
}
|
||||
|
||||
std::vector<std::vector<Block>> Board::getBlocks() const {
|
||||
const std::vector<std::vector<Block>>& Board::getBlocks() const {
|
||||
return this->grid;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user