diff --git a/src/app/puzzle/vpuzzlelayer.cpp b/src/app/puzzle/vpuzzlelayer.cpp index f3f8c73b8..a50ac7d3c 100644 --- a/src/app/puzzle/vpuzzlelayer.cpp +++ b/src/app/puzzle/vpuzzlelayer.cpp @@ -42,6 +42,12 @@ VPuzzleLayer::~VPuzzleLayer() } +//--------------------------------------------------------------------------------------------------------------------- +QList VPuzzleLayer::GetPieces() +{ + return m_pieces; +} + //--------------------------------------------------------------------------------------------------------------------- void VPuzzleLayer::AddPiece(VPuzzlePiece *piece) { diff --git a/src/app/puzzle/vpuzzlelayer.h b/src/app/puzzle/vpuzzlelayer.h index fc35e5265..b4fc20038 100644 --- a/src/app/puzzle/vpuzzlelayer.h +++ b/src/app/puzzle/vpuzzlelayer.h @@ -37,6 +37,7 @@ public: VPuzzleLayer(); ~VPuzzleLayer(); + QList GetPieces(); void AddPiece(VPuzzlePiece *piece); void RemovePiece(VPuzzlePiece *piece);