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

Method moveTo

Java/Loon-Neo/src/loon/LObject.java:1221–1232  ·  view source on GitHub ↗

调用时以指定速度向指定方向移动(到目标后停止),移动结束后Callback自身 注意,此函数没有调用缓动的moveTo方法,只有调用时才会累加移动,不能自动累加 @param destX @param destY @param speed @param callback @return

(float destX, float destY, float speed, Callback<LObject<T>> callback)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

getXMethod · 0.95
getYMethod · 0.95
moveToXMethod · 0.95
moveToYMethod · 0.95
onSuccessMethod · 0.65

Tested by

no test coverage detected