split functions, added printbox, fixed put into box

This commit is contained in:
Raphael Maenle
2017-12-23 10:11:07 +01:00
parent 93226cca1b
commit eada1bba96
7 changed files with 53 additions and 21 deletions

View File

@ -38,7 +38,9 @@ public:
m_numOfRotations = numOfRotations;
}
AbstractionLayer_1_Properties m_test1;
void print(){m_a1.print();}
AbstractionLayer_1_Properties m_a1;
DestructionPower_Properties m_destruction;
private:
int32_t m_partID;

View File

@ -43,7 +43,6 @@ public:
Puzzle(unsigned int newcols,unsigned int newrows):rows(newrows),cols(newcols)
{
a1.PreProcessing({rows,cols}, nullptr);
a1.CreateRandomPuzzle();
}
coor getSizeAsCoor()
@ -54,6 +53,7 @@ public:
void removeConstrains(coor removeCoordinates);
void printPuzzle();
void printBox();
void createRandomBox(){createRandomPuzzle();putIntoBox();shuffle();createp_box();}
void createRandomPuzzle();