2021-12-09 17:54:08 +00:00
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public class Explorateur {
|
|
|
|
int taille;
|
|
|
|
List<Connaissance> connaissances;
|
|
|
|
List<Objet> objets;
|
|
|
|
|
|
|
|
public Explorateur(
|
|
|
|
int taille,
|
|
|
|
List<Connaissance> connaissances,
|
|
|
|
List<Objet> objets) {
|
|
|
|
this.taille = taille;
|
|
|
|
this.connaissances = connaissances;
|
|
|
|
this.objets = objets;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
2022-01-16 17:14:57 +00:00
|
|
|
return "\tObjets : " + this.objets + "\n\tConnaissances : " + this.connaissances;
|
2021-12-09 17:54:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|