master
mmcbt5u2w 4 years ago
parent f77e8da42e
commit 6083b3a210

@ -94,6 +94,9 @@ public class PuzzleState extends State {
return blank[i];
}
/**
* s1s2
*/
public int getBoardAtAnother(PuzzleState s1, PuzzleState s2) {
return s1.getBoardAt(s2.getBlank(0), s2.getBlank(1));
}

Loading…
Cancel
Save