split functions, added printbox, fixed put into box
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
@@ -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();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user