Package net.runelite.api
Interface WorldEntity
-
- All Superinterfaces:
CameraFocusableEntity
public interface WorldEntity extends CameraFocusableEntity
-
-
Field Summary
Fields Modifier and Type Field Description static intOWNER_TYPE_NOT_PLAYERstatic intOWNER_TYPE_OTHER_PLAYERstatic intOWNER_TYPE_SELF_PLAYER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorldEntityConfiggetConfig()LocalPointgetLocalLocation()Get the location of this world entity in the top level world.intgetOwnerType()WorldViewgetWorldView()booleanisHiddenForOverlap()Return true if this worldentity is overlappedLocalPointtransformToMainWorld(LocalPoint point)Transform a point within the world entity to the overworld-
Methods inherited from interface net.runelite.api.CameraFocusableEntity
getCameraFocus
-
-
-
-
Field Detail
-
OWNER_TYPE_NOT_PLAYER
static final int OWNER_TYPE_NOT_PLAYER
- See Also:
- Constant Field Values
-
OWNER_TYPE_OTHER_PLAYER
static final int OWNER_TYPE_OTHER_PLAYER
- See Also:
- Constant Field Values
-
OWNER_TYPE_SELF_PLAYER
static final int OWNER_TYPE_SELF_PLAYER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getWorldView
WorldView getWorldView()
- Specified by:
getWorldViewin interfaceCameraFocusableEntity
-
getLocalLocation
LocalPoint getLocalLocation()
Get the location of this world entity in the top level world.- Returns:
-
transformToMainWorld
LocalPoint transformToMainWorld(LocalPoint point)
Transform a point within the world entity to the overworld- Parameters:
point-- Returns:
-
isHiddenForOverlap
boolean isHiddenForOverlap()
Return true if this worldentity is overlapped- Returns:
-
getConfig
WorldEntityConfig getConfig()
-
getOwnerType
int getOwnerType()
-
-