Package net.runelite.api.worldmap
Interface WorldMap
-
- All Known Subinterfaces:
RenderOverview
public interface WorldMapRepresents the World Map
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorldMapDatagetWorldMapData()The data represented by the render.PointgetWorldMapPosition()Gets the current position of the local player on the world map.WorldMapRenderergetWorldMapRenderer()Gets the world map renderer.floatgetWorldMapZoom()Gets the current zoom level of the world map.voidinitializeWorldMap(WorldMapData worldMapData)Initializes the world map with the provided data.voidsetWorldMapPositionTarget(WorldPoint worldPoint)Sets the target position of the world map.
-
-
-
Method Detail
-
getWorldMapPosition
Point getWorldMapPosition()
Gets the current position of the local player on the world map.- Returns:
- the world map position
-
getWorldMapZoom
float getWorldMapZoom()
Gets the current zoom level of the world map.- Returns:
- the world map zoon
-
setWorldMapPositionTarget
void setWorldMapPositionTarget(WorldPoint worldPoint)
Sets the target position of the world map.- Parameters:
worldPoint- the new target position
-
getWorldMapRenderer
WorldMapRenderer getWorldMapRenderer()
Gets the world map renderer.- Returns:
- the world map renderer
-
initializeWorldMap
void initializeWorldMap(WorldMapData worldMapData)
Initializes the world map with the provided data.- Parameters:
worldMapData- the new map data
-
getWorldMapData
WorldMapData getWorldMapData()
The data represented by the render.- Returns:
- the map data
-
-