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

17 lines
307 B
Java
Raw Normal View History

2021-12-01 07:58:07 +00:00
public class Description {
String texte;
Condition condition;
public Description(
String texte,
Condition condition) {
this.texte = texte;
this.condition = condition;
}
2021-12-01 20:19:08 +00:00
@Override
public String toString() {
return this.texte;
}
2021-12-01 07:58:07 +00:00
}