MCPcopy Create free account
hub / github.com/akeranen/the-one / updateMap

Method updateMap

input/WKTMapReader.java:121–126  ·  view source on GitHub ↗

Updates simulation map with coordinates in the list @param coords The list of coordinates

(List<Coord> coords)

Source from the content-addressed store, hash-verified

119 * @param coords The list of coordinates
120 */
121 private void updateMap(List<Coord> coords) {
122 MapNode previousNode = null;
123 for (Coord c : coords) {
124 previousNode = createOrUpdateNode(c, previousNode);
125 }
126 }
127
128 /**
129 * Creates or updates a node that is in location c and next to

Callers 1

addPathsMethod · 0.95

Calls 1

createOrUpdateNodeMethod · 0.95

Tested by

no test coverage detected