Amélioration de la doc

This commit is contained in:
Moncef STITI 2024-04-29 14:58:15 +02:00
parent 19e3aeaf76
commit e11400fbd0
2 changed files with 10 additions and 3 deletions

View File

@ -13,7 +13,7 @@ JCFLAGS := -encoding UTF-8 -implicit:none
JVM := java
JVMFLAGS :=
SRCDIR := ./src/GridMaker
SRCDIR := ./src/GridSolver
OUTDIR := ./out
DOCDIR := ./doc
SRC := $(wildcard $(SRCDIR)/*.java)

View File

@ -25,7 +25,7 @@ public class GSPlay {
private Container content;
private GSGrid ma_Grille;
private Button boutonValider = new Button("Valider",Color.white);
private Button boutonValider = new Button("Valider",Color.lightGray);
private long startTime;
private long vraiTime;
private Window gameplay;
@ -42,7 +42,6 @@ public class GSPlay {
this.gsPlayController = new GSPlayController(this);
}
/**
* Méthode pour afficher la fenêtre de jeu.
*/
@ -90,10 +89,18 @@ public class GSPlay {
return !this.ma_Grille.isComplete();
}
/**
* Méthode pour obtenir le bouton valider.
* @return le bouton valider
*/
public Button getBoutonValider() {
return boutonValider;
}
/**
* Méthode pour obtenir la grille
* @return la grille
*/
public GSGrid getMaGrille() {
return ma_Grille;
}