projet-genie-logiciel-systeme/enigme.java/ConditionBoolean.java
2021-12-02 14:23:06 +01:00

12 lines
218 B
Java

public class ConditionBoolean implements ConditionTest {
Boolean bool;
public ConditionBoolean(Boolean bool) {
this.bool = bool;
}
public Boolean evaluer() {
return this.bool;
}
}