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

@@ -193,6 +193,13 @@ public class ActionList extends Action implements Iterable<Action>{
return super.properties(preForm, formInputs, postForm);
}
@Override
public BaseClass remove() {
super.remove();
while (!actions.isEmpty()) actions.lastElement().remove();
return this;
}
@Override
public void removeChild(BaseClass child) {
actions.remove(child);