début de la classe PiecesFile

This commit is contained in:
2025-02-28 22:32:51 +01:00
parent 26f501f7e8
commit 13ee43167e
11 changed files with 143 additions and 45 deletions

View File

@@ -10,9 +10,9 @@
#include <memory>
GameBoard::GameBoard(int boardWidth, int boardHeight, const std::vector<Piece>& bag, int nextQueueLength) :
GameBoard::GameBoard(int boardWidth, int boardHeight, const std::shared_ptr<PiecesList>& pieceList, int nextQueueLength) :
board(boardWidth, boardHeight),
generator(bag),
generator(pieceList),
nextQueueLength(nextQueueLength) {
this->nextQueue.clear();