Additional function in VPuzzleLayer
This commit is contained in:
parent
cefb643d54
commit
13d42bfa62
|
@ -42,6 +42,12 @@ VPuzzleLayer::~VPuzzleLayer()
|
|||
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
QList<VPuzzlePiece *> VPuzzleLayer::GetPieces()
|
||||
{
|
||||
return m_pieces;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VPuzzleLayer::AddPiece(VPuzzlePiece *piece)
|
||||
{
|
||||
|
|
|
@ -37,6 +37,7 @@ public:
|
|||
VPuzzleLayer();
|
||||
~VPuzzleLayer();
|
||||
|
||||
QList<VPuzzlePiece *> GetPieces();
|
||||
void AddPiece(VPuzzlePiece *piece);
|
||||
void RemovePiece(VPuzzlePiece *piece);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user