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

12 lines
218 B
Java
Raw Normal View History

public class ConditionBoolean implements ConditionTest {
Boolean bool;
2021-12-01 19:55:46 +00:00
public ConditionBoolean(Boolean bool) {
this.bool = bool;
}
public Boolean evaluer() {
2021-12-02 13:23:06 +00:00
return this.bool;
}
}