ajouté interface textuelle
This commit is contained in:
@@ -44,14 +44,14 @@ class Board {
|
||||
void clearBoard();
|
||||
|
||||
/**
|
||||
* @return A copy of the block at the specified position
|
||||
* @return The block at the specified position
|
||||
*/
|
||||
Block getBlock(const Position& position) const;
|
||||
|
||||
/**
|
||||
* @return A copy of the grid
|
||||
* @return The grid
|
||||
*/
|
||||
std::vector<std::vector<Block>> getBlocks() const;
|
||||
const std::vector<std::vector<Block>>& getBlocks() const;
|
||||
|
||||
/**
|
||||
* @return The width of the grid
|
||||
|
||||
Reference in New Issue
Block a user