Skip to content

Commit

Permalink
Update Game.java
Browse files Browse the repository at this point in the history
  • Loading branch information
kek-Sec committed Feb 7, 2022
1 parent a8bb815 commit e7acc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minesweeper/src/gr/hmu/tp4768/Models/Game.java
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public Square[][] populateGrid(GameMode gamemode, Square[][] Grid) {
* @param grid2 the grid
* @return
*/
private int getAdjacentMines(int i, int j, Square[][] grid2) {
public int getAdjacentMines(int i, int j, Square[][] grid2) {
int adjacentMines = 0;
// set max number of rows
int maxRows = grid2.length;
Expand Down

0 comments on commit e7acc9a

Please sign in to comment.