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

Method removePaths

src/main/java/mudmap2/backend/Place.java:250–256  ·  view source on GitHub ↗

Removes a set of paths @param paths set of paths

(final HashSet<Path> paths)

Source from the content-addressed store, hash-verified

248 * @param paths set of paths
249 */
250 public void removePaths(final HashSet<Path> paths){
251 this.paths.removeAll(paths);
252 for(Path path: paths){
253 path.getOtherPlace(this).paths.remove(path);
254 }
255 callWorldChangeListeners();
256 }
257
258 /**
259 * Connects a place to another one tht is specified in path

Callers 1

keyPressedMethod · 0.95

Calls 3

getOtherPlaceMethod · 0.80
removeMethod · 0.65

Tested by

no test coverage detected