Vérif faite
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
package Controllers;
|
package fr.iutfbleau.TD3_DEV51_Qualite_Algo.Controllers;
|
||||||
|
|
||||||
import Models.Word;
|
import fr.iutfbleau.TD3_DEV51_Qualite_Algo.Models.Word;
|
||||||
import Views.HangedManView;
|
import fr.iutfbleau.TD3_DEV51_Qualite_Algo.View.hangedManView;
|
||||||
|
|
||||||
public class Game {
|
public class Game {
|
||||||
private Word word;
|
private Word word;
|
||||||
private HangedManView hangedManView;
|
private hangedManView hangedManView;
|
||||||
|
|
||||||
private int errors;
|
private int errors;
|
||||||
private int maxErrors = 9;
|
private int maxErrors = 9;
|
||||||
|
@@ -14,7 +14,7 @@ public class Word {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Lettre dans le mot */
|
/* Lettre dans le mot */
|
||||||
private boolean VerifyLetter(char c){
|
public boolean VerifyLetter(char c){
|
||||||
boolean return_bool = false;
|
boolean return_bool = false;
|
||||||
for(Letter letter : this.tabLetter){
|
for(Letter letter : this.tabLetter){
|
||||||
if(!letter.getStatus()){
|
if(!letter.getStatus()){
|
||||||
|
Reference in New Issue
Block a user