projet-genie-logiciel-systeme/enigme.java/Lieu.java

37 lines
894 B
Java
Raw Normal View History

2021-12-01 19:55:46 +00:00
import java.util.List;
public class Lieu {
String nom;
2021-12-01 19:55:46 +00:00
Condition deposable;
Condition depart;
Condition fin;
2021-12-01 07:58:07 +00:00
List<Personne> personnes;
List<Description> descriptions;
List<Objet> objets;
List<Connaissance> connaissances;
public Lieu(
String nom,
2021-12-01 19:55:46 +00:00
Condition deposable,
Condition depart,
Condition fin,
2021-12-01 07:58:07 +00:00
List<Personne> personnes,
List<Description> descriptions,
List<Objet> objets,
List<Connaissance> connaissances) {
this.nom = nom;
this.deposable = deposable;
this.depart = depart;
this.fin = fin;
this.personnes = personnes;
this.descriptions = descriptions;
this.objets = objets;
this.connaissances = connaissances;
}
2021-12-02 13:23:06 +00:00
@Override
public String toString() {
return nom;
}
}