projet-genie-logiciel-systeme/enigme.java/Description.java
2021-12-01 21:19:08 +01:00

17 lines
307 B
Java

public class Description {
String texte;
Condition condition;
public Description(
String texte,
Condition condition) {
this.texte = texte;
this.condition = condition;
}
@Override
public String toString() {
return this.texte;
}
}