This commit is contained in:
Paul Gross
2020-04-23 10:06:54 +02:00
parent a830ddac88
commit df68d70f3d
5 changed files with 57 additions and 29 deletions

View File

@@ -1,12 +1,16 @@
package main;
import java.util.List;
public class Configuration {
private int nombreJoueurs;
private int nombreJoueursHumains;
private List<String> nomsJoueurs;
//TODO : attribut pour prendre en compte si jeu est normal ou demarrage rapide?
public Configuration (int nj, int njh) {
public Configuration (List<String> nomsJoueurs,int nj, int njh) {
this.nomsJoueurs = nomsJoueurs;
nombreJoueurs = nj;
nombreJoueursHumains = njh;
}