Skip to content

Commit e7acc9a

Browse files
committed
Update Game.java
1 parent a8bb815 commit e7acc9a

File tree

1 file changed

+1
-1
lines changed
  • minesweeper/src/gr/hmu/tp4768/Models

1 file changed

+1
-1
lines changed

minesweeper/src/gr/hmu/tp4768/Models/Game.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public Square[][] populateGrid(GameMode gamemode, Square[][] Grid) {
213213
* @param grid2 the grid
214214
* @return
215215
*/
216-
private int getAdjacentMines(int i, int j, Square[][] grid2) {
216+
public int getAdjacentMines(int i, int j, Square[][] grid2) {
217217
int adjacentMines = 0;
218218
// set max number of rows
219219
int maxRows = grid2.length;

0 commit comments

Comments
 (0)