Package com.valhalla.sdk.api.entities
Interface LocalPlayer
- All Superinterfaces:
Locatable
Minimal live view of the local player's movement and animation state.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the current animation.booleanisMoving()Reports current movement state.Methods inherited from interface com.valhalla.sdk.api.entities.Locatable
canReach, canReach, distance, distanceTo, getGridX, getGridY, getPlane, getRegionId, getTile, getX, getY, getZ, isInArea, isWithinDistance, walkingDistance
-
Method Details
-
isMoving
boolean isMoving()Reports current movement state.- Returns:
truewhen the client currently reports movement
-
getAnimation
int getAnimation()Returns the current animation.- Returns:
- current animation identifier, conventionally
-1when idle
-