Add RSTileMixin.getGroundItems and RSNPCMixin.getTransformedComposition

This commit is contained in:
WooxSolo
2018-05-20 16:13:50 +02:00
committed by Adam
parent d718133782
commit 0b63291bbf
4 changed files with 53 additions and 0 deletions

View File

@@ -37,4 +37,11 @@ public interface NPC extends Actor
int getIndex();
NPCComposition getComposition();
/**
* Get the composition for this NPC and transform it if required
*
* @return
*/
NPCComposition getTransformedComposition();
}

View File

@@ -24,6 +24,7 @@
*/
package net.runelite.api;
import java.util.List;
import net.runelite.api.coords.LocalPoint;
import net.runelite.api.coords.WorldPoint;
@@ -57,4 +58,11 @@ public interface Tile
int getPlane();
boolean hasLineOfSightTo(Tile other);
/**
* Get all the ground items for this tile
*
* @return
*/
List<Item> getGroundItems();
}