public class SimplePlayer extends Clickable implements SimpleActor
| Constructor and Description |
|---|
SimplePlayer(net.runelite.api.Player player) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
click(java.lang.String action)
This makes mouse click with option
|
boolean |
click(java.lang.String action,
java.lang.String option) |
java.lang.String[] |
getActions()
Returns Actions of the object
|
net.runelite.api.Actor |
getActor() |
int |
getAnimation() |
java.awt.geom.Rectangle2D |
getClickBounds() |
int |
getCombatLevel() |
int |
getGraphic() |
int |
getHealth()
Deprecated.
|
int |
getHealthRatio() |
net.runelite.api.Actor |
getInteracting() |
net.runelite.api.coords.WorldPoint |
getLocation()
Position in world of object
|
java.lang.String |
getName()
The name of said object
|
net.runelite.api.HeadIcon |
getOverHeadIcon() |
java.lang.String |
getOverheadText() |
net.runelite.api.Player |
getPlayer() |
net.runelite.api.PlayerComposition |
getPlayerDefinitions() |
net.runelite.api.SkullIcon |
getSkullIcon() |
int |
getTeam() |
boolean |
inCombat() |
boolean |
isAnimating() |
void |
useItemOnPlayer(SimpleItem item) |
click, clickOnMinimap, getPointForType, turnTo, validateInteractable, visibleOnScreenequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclickOnMinimap, distanceTo, within, withinRangepublic net.runelite.api.Player getPlayer()
public net.runelite.api.Actor getActor()
getActor in interface SimpleActorpublic java.lang.String getName()
SimpleNamablegetName in interface SimpleNamablepublic java.awt.geom.Rectangle2D getClickBounds()
public void useItemOnPlayer(SimpleItem item)
public net.runelite.api.PlayerComposition getPlayerDefinitions()
public net.runelite.api.coords.WorldPoint getLocation()
SimpleLocatablegetLocation in interface SimpleLocatablepublic boolean inCombat()
public int getAnimation()
getAnimation in interface SimpleActorpublic boolean isAnimating()
isAnimating in interface SimpleActorpublic int getCombatLevel()
public int getGraphic()
@Deprecated public int getHealth()
public int getHealthRatio()
public net.runelite.api.Actor getInteracting()
getInteracting in interface SimpleActorpublic net.runelite.api.HeadIcon getOverHeadIcon()
public java.lang.String getOverheadText()
public net.runelite.api.SkullIcon getSkullIcon()
public int getTeam()
public java.lang.String[] getActions()
SimpleActionablegetActions in interface SimpleActionablepublic boolean click(java.lang.String action)
Clickable