Added rotation functionality, minor cleanups on the way
This commit is contained in:
		@@ -9,7 +9,7 @@
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
	int cols=10, rows=10;
 | 
			
		||||
	int cols=4, rows=4;
 | 
			
		||||
	//some basic part stuff
 | 
			
		||||
	vector<Part> myFirstPuzzle;
 | 
			
		||||
	Part myFirstPart;
 | 
			
		||||
@@ -40,7 +40,8 @@ int main()
 | 
			
		||||
	Puzzle puzzleMat(cols, rows);
 | 
			
		||||
 | 
			
		||||
	//vector<vector<PuzzlePiece*>> ab1class = abstractionLayer1classify(log, p_myFirstBox,puzzleMat);
 | 
			
		||||
 | 
			
		||||
	for(int i=0;i<myFirstBox.size();i++)
 | 
			
		||||
		cout << (*p_myFirstBox[i]).getShift() << endl;
 | 
			
		||||
	while(next(log, p_myFirstBox,puzzleMat));
 | 
			
		||||
 | 
			
		||||
	puzzleMat.printPuzzle();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user