Skip to content
Snippets Groups Projects
Commit 4577be00 authored by Oscar-git97's avatar Oscar-git97
Browse files

last version avant working towards adding Position class.

parent 36f73cda
No related branches found
No related tags found
No related merge requests found
......@@ -41,3 +41,4 @@
1731588384721 Rename method 'countNeighbors'
1731588392288 Rename method 'addNeighbors'
1731591287742 Rename field 'nbNeighbors'
1731660137330 Delete element
......@@ -49,7 +49,6 @@ public class Minesweeper {
}
private void setNeighbors() {
// TODO Auto-generated method stub
for (ArrayList<Cell> row : board)
for (Cell cell : row) {
addAllNeighbors(cell);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment