Revert "Update JavaDoc"
This reverts commit 7708654bdb51864fdd7cada0c2d4223e441bc707.
This commit is contained in:
parent
74ba71d52c
commit
ef569e1bcb
@ -22,11 +22,6 @@ import javafx.scene.input.MouseEvent;
|
||||
import javafx.scene.layout.GridPane;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
/**
|
||||
* The JavaFX controller for minesweeper.fxml.
|
||||
* Handles all operations performed within the GUI.
|
||||
* @author shrapnelnet admin@shr4pnel.com
|
||||
*/
|
||||
public class Controller {
|
||||
/**
|
||||
* The grid within the FXML holding all the tiles.
|
||||
@ -356,7 +351,7 @@ public class Controller {
|
||||
}
|
||||
|
||||
/**
|
||||
* If a tile is surrounded by tiles with no adjacent bombs, open all the tiles recursively
|
||||
* If a tile is surrounded by tiles with no adjacent bombs, open all of the tiles recursively
|
||||
*
|
||||
* @param column The column that was clicked
|
||||
* @param row The row that was clicked
|
||||
@ -506,7 +501,7 @@ public class Controller {
|
||||
* Create a flag on a tile, representing a tile that the user suspects has a bomb behind it.
|
||||
* This prevents the tile being clicked on.
|
||||
*
|
||||
* @param tileClicked The tile that the user clicks.
|
||||
* @param tileClicked
|
||||
*/
|
||||
private void flag(Node tileClicked) {
|
||||
Button tileAsButton = (Button) tileClicked;
|
||||
|
@ -2,14 +2,7 @@ package com.shr4pnel.minesweeper;
|
||||
|
||||
import java.util.concurrent.ThreadLocalRandom;
|
||||
|
||||
/**
|
||||
* Used to fill the GridWrapper with bombs. Planned to merge into GridWrapper.
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public class Grid {
|
||||
/**
|
||||
* An instance of GridWrapper used to check generation of bombs.
|
||||
*/
|
||||
final GridWrapper grid = new GridWrapper();
|
||||
|
||||
/**
|
||||
|
@ -1,9 +1,5 @@
|
||||
package com.shr4pnel.minesweeper;
|
||||
|
||||
/**
|
||||
* Simplifies operations on the bomb array. Preventing direct access leads to cleaner code.
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public class GridWrapper {
|
||||
/**
|
||||
* Number of columns.
|
||||
|
@ -9,10 +9,6 @@ import javafx.scene.Scene;
|
||||
import javafx.scene.image.Image;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
/**
|
||||
* The application opening point, used to bootstrap JavaFX and open to the GUI.
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public class Main extends Application {
|
||||
/**
|
||||
* JavaFX opening method. Creates the stage and bootstraps the application.
|
||||
|
@ -1,8 +1,3 @@
|
||||
/**
|
||||
* The main module for the program. Required to launch to JavaFX as well as bundle into a native binary.
|
||||
* @author shrapnelnet admin@shr4pnel.com
|
||||
* @since 1.0.0
|
||||
*/
|
||||
module libremines {
|
||||
requires javafx.controls;
|
||||
requires javafx.fxml;
|
||||
|
Loading…
x
Reference in New Issue
Block a user