début de la classe PiecesFile
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user