MCPcopy Create free account
hub / github.com/Neop/mudmap2 / remove

Method remove

src/main/java/mudmap2/backend/Layer.java:289–292  ·  view source on GitHub ↗

Removes an element from the layer but not from the world @param element

(final LayerElement element)

Source from the content-addressed store, hash-verified

287 * @param element
288 */
289 public void remove(final LayerElement element) {
290 elements.remove(element);
291 world.callListeners(this);
292 }
293
294 /**
295 * Returns true, if an element at position x,y exists

Callers 4

testRemoveMethod · 0.95
testIsEmptyMethod · 0.95
testIsPlaceNameUniqueMethod · 0.95
moveMethod · 0.95

Calls 2

callListenersMethod · 0.80
removeMethod · 0.65

Tested by 3

testRemoveMethod · 0.76
testIsEmptyMethod · 0.76
testIsPlaceNameUniqueMethod · 0.76