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 JVM := java
JVMFLAGS := JVMFLAGS :=
SRCDIR := ./src/GridMaker SRCDIR := ./src/GridSolver
OUTDIR := ./out OUTDIR := ./out
DOCDIR := ./doc DOCDIR := ./doc
SRC := $(wildcard $(SRCDIR)/*.java) SRC := $(wildcard $(SRCDIR)/*.java)

View File

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