runelite-api, runescape-api: Rename Area to mapElement

This commit is contained in:
Max Weber
2019-01-22 23:32:35 -07:00
parent ba8dab7370
commit 11ab3dc2a2
4 changed files with 6 additions and 6 deletions

View File

@@ -848,7 +848,7 @@ public interface Client extends GameEngine
*
* @return the world areas
*/
Area[] getMapAreas();
MapElementConfig[] getMapElementConfigs();
/**
* Gets a sprite of the map scene

View File

@@ -27,7 +27,7 @@ package net.runelite.api;
/**
* Represents an area in the world.
*/
public interface Area
public interface MapElementConfig
{
/**
* Gets the sprite icon to display on the world map.

View File

@@ -497,9 +497,9 @@ public interface RSClient extends RSGameEngine, Client
@Import("widgetRoot")
int getWidgetRoot();
@Import("mapAreaType")
@Import("mapElementConfigs")
@Override
RSArea[] getMapAreas();
RSMapElementConfig[] getMapElementConfigs();
@Import("mapscene")
@Override

View File

@@ -24,10 +24,10 @@
*/
package net.runelite.rs.api;
import net.runelite.api.Area;
import net.runelite.api.MapElementConfig;
import net.runelite.mapping.Import;
public interface RSArea extends RSCacheableNode, Area
public interface RSMapElementConfig extends RSCacheableNode, MapElementConfig
{
@Import("getMapIcon")
@Override