MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / checkForDeletion

Method checkForDeletion

src/main/java/fieldcef/plugins/PadsBox.java:169–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167 }
168
169 protected boolean checkForDeletion() {
170 if (head().parents().size() == 0 || tail().parents().size() == 0) this.disconnectFromAll();
171 return true;
172 }
173
174 protected boolean updateFrameToMiddle() {
175 FLine f = arc(head().properties.get(frame), tail().properties.get(frame));

Callers

nothing calls this directly

Calls 5

headMethod · 0.95
tailMethod · 0.95
parentsMethod · 0.80
disconnectFromAllMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected