public void Rotate() { if (prObj != null && puzzleSolver != null) { prObj.NextState(); puzzleSolver.CheckSolvedState(); } }