refactoring tile delete method

This commit is contained in:
Stephan Richter
2020-12-03 13:33:45 +01:00
parent 50a5508a33
commit 5aa66099fe
30 changed files with 81 additions and 161 deletions

View File

@@ -90,6 +90,13 @@ public class ConditionList extends Condition implements Iterable<Condition>{
return form;
}
@Override
public BaseClass remove() {
super.remove();
while (!conditions.isEmpty()) conditions.lastElement().remove();
return this;
}
public boolean remove(Object condition) {
return conditions.remove(condition);
}