setCenterPosition
fun setCenterPosition(vector: Vector2, immediately: Boolean = false, selectUnit: Boolean = true): Boolean
Content copied to clipboard
Scrolls the world map to specified coordinates.
Return
true
if scroll position was changed, false
otherwise
Parameters
vector
Position to center on
immediately
Do so without animation
selectUnit
Select a unit at the destination
Sources
jvm source
Link copied to clipboard