Skip to content
Snippets Groups Projects
Commit 37f12a4b authored by tompotio's avatar tompotio
Browse files

V4

parent ab07b042
Branches
No related tags found
No related merge requests found
package Configuration;
public final class Configuration {
private int difficulte;
private int tailleMaxEquipe;
private static Configuration INSTANCE;
private Configuration() {
}
public static Configuration getInstance() {
if(INSTANCE == null) {
INSTANCE = new Configuration();
}
return INSTANCE;
}
public void setDifficulte(int difficulte){
this.difficulte = difficulte;
}
public int getDifficulte(){
return difficulte;
}
public void setTailleMaxEquipe(int taille){
tailleMaxEquipe = taille;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment