projet-genie-logiciel-systeme/runtime-workspace/fr.n7.game.examples/src-gen/Description.java

21 lines
372 B
Java
Raw Normal View History

2021-12-09 17:54:08 +00:00
public class Description {
String texte;
Condition condition;
2022-01-18 18:49:37 +00:00
String nom;
2021-12-09 17:54:08 +00:00
public Description(
2022-01-18 18:49:37 +00:00
String nom,
2021-12-09 17:54:08 +00:00
String texte,
Condition condition) {
2022-01-18 18:49:37 +00:00
this.nom = nom;
2021-12-09 17:54:08 +00:00
this.texte = texte;
this.condition = condition;
}
@Override
public String toString() {
return this.texte;
}
2022-01-18 18:49:37 +00:00
2021-12-09 17:54:08 +00:00
}