Skip to content
Snippets Groups Projects
Commit c7705398 authored by Alexis BUSSENEAU's avatar Alexis BUSSENEAU
Browse files

Update

parent b15005e4
No related branches found
No related tags found
No related merge requests found
...@@ -20,12 +20,8 @@ public class Board { ...@@ -20,12 +20,8 @@ public class Board {
public boolean isSolved(){ public boolean isSolved(){
return board[exit.getX()][exit.getY()] == 0; return board[exit.getX()][exit.getY()] == 0;
} }
//getAllPossibleMoves();
public int getSize() { public int getSize() {
return board.length; return board.length;
...@@ -34,4 +30,9 @@ public class Board { ...@@ -34,4 +30,9 @@ public class Board {
public int getCarsNumber() { public int getCarsNumber() {
return cars.length; return cars.length;
} }
public int getValue(int i, int j) {
return board[i][j];
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment