Package net.eternalclient.api.rs
Interface RSWorldMap
-
public interface RSWorldMap
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDisplayX()
int
getDisplayY()
RSCoord
getMouseCoord()
Positionable
getMouseTile()
RSWorldMapArea
getWorldMapData()
int
getWorldMapDisplayHeight()
int
getWorldMapDisplayWidth()
int
getWorldMapDisplayX()
int
getWorldMapDisplayY()
RSWorldMapManager
getWorldMapManager()
net.eternalclient.api.data.Point
getWorldMapPosition()
Gets the current position of the local player on the world map.int
getWorldMapTargetX()
int
getWorldMapTargetY()
int
getWorldMapX()
int
getWorldMapX(int worldX)
int
getWorldMapY()
int
getWorldMapY(int worldY)
float
getWorldMapZoom()
Positionable
getWorldTile(int canvasX, int canvasY)
Positionable
getWorldTileFromMap(int mapX, int mapY)
int
getX(int canvasX)
int
getY(int canvasY)
void
initializeWorldMapManager(RSWorldMapArea worldMapData)
void
setWorldMapPosition(int worldMapX, int worldMapY, boolean changedSurface)
void
setWorldMapPositionTarget(int worldPointX, int worldPointY)
void
setWorldMapPositionTarget(Positionable worldPoint)
Sets the target position of the world map.
-
-
-
Method Detail
-
getWorldMapPosition
net.eternalclient.api.data.Point getWorldMapPosition()
Gets the current position of the local player on the world map.- Returns:
- the world map position
-
setWorldMapPositionTarget
void setWorldMapPositionTarget(Positionable worldPoint)
Sets the target position of the world map.- Parameters:
worldPoint
- the new target position
-
getMouseTile
Positionable getMouseTile()
-
getX
int getX(int canvasX)
-
getY
int getY(int canvasY)
-
getWorldTile
Positionable getWorldTile(int canvasX, int canvasY)
-
getWorldTileFromMap
Positionable getWorldTileFromMap(int mapX, int mapY)
-
getWorldMapX
int getWorldMapX(int worldX)
-
getWorldMapY
int getWorldMapY(int worldY)
-
getWorldMapX
int getWorldMapX()
-
getWorldMapY
int getWorldMapY()
-
getWorldMapZoom
float getWorldMapZoom()
-
getWorldMapTargetX
int getWorldMapTargetX()
-
getWorldMapTargetY
int getWorldMapTargetY()
-
getWorldMapDisplayWidth
int getWorldMapDisplayWidth()
-
getWorldMapDisplayHeight
int getWorldMapDisplayHeight()
-
getWorldMapDisplayX
int getWorldMapDisplayX()
-
getWorldMapDisplayY
int getWorldMapDisplayY()
-
setWorldMapPosition
void setWorldMapPosition(int worldMapX, int worldMapY, boolean changedSurface)
-
setWorldMapPositionTarget
void setWorldMapPositionTarget(int worldPointX, int worldPointY)
-
getWorldMapManager
RSWorldMapManager getWorldMapManager()
-
initializeWorldMapManager
void initializeWorldMapManager(RSWorldMapArea worldMapData)
-
getWorldMapData
RSWorldMapArea getWorldMapData()
-
getMouseCoord
RSCoord getMouseCoord()
-
getDisplayX
int getDisplayX()
-
getDisplayY
int getDisplayY()
-
-