MCPcopy Create free account
hub / github.com/cping/LGame / connectPairs

Method connectPairs

Java/Loon-Neo/src/loon/action/map/CityMap.java:3414–3426  ·  view source on GitHub ↗

批量自定义链接对,两两成对。可以重复输入同一对象,但注意,非成对的数据注入无效。 用户可借此简化城市间两条相互链接线的逻辑。 (例如洛阳,长安,长安,洛阳这样设置,就会直接出现两组线,而不用手动定义两条线) @param cityPairs @return

(City... cityPairs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

createMethod · 0.95

Calls 2

connectCitiesMethod · 0.95
addMethod · 0.95

Tested by 1

createMethod · 0.76