diff --git a/Makefile b/Makefile index a00f69e..33dbd90 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/src/GridSolver/GSPlay.java b/src/GridSolver/GSPlay.java index befd421..2fc8582 100755 --- a/src/GridSolver/GSPlay.java +++ b/src/GridSolver/GSPlay.java @@ -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; }