public class SimpleGroundItem extends SimpleItem implements SimpleLocatable, SimpleInteractable
ctx
Constructor and Description |
---|
SimpleGroundItem(ClientContext ctx,
simple.bot.internal.IItem reflectedObject,
int id,
int quantity,
WorldPoint location) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String[] |
getActions()
Returns Actions of the object
|
WorldPoint |
getLocation()
Position in world of object
|
int |
getSlot()
Deprecated.
|
int |
hashCode() |
boolean |
interact() |
boolean |
interact(java.lang.String option) |
getId, getName, getQuantity, interact, interact, isStackable
getReflectedObject
getClass, notify, notifyAll, toString, wait, wait, wait
distanceTo, within, withinRange
getName
public SimpleGroundItem(ClientContext ctx, simple.bot.internal.IItem reflectedObject, int id, int quantity, WorldPoint location)
ctx
- reflectedObject
- id
- quantity
- public WorldPoint getLocation()
SimpleLocatable
getLocation
in interface SimpleLocatable
public java.lang.String[] getActions()
SimpleActionable
getActions
in interface SimpleActionable
getActions
in class SimpleItem
@Deprecated public int getSlot()
getSlot
in class SimpleItem
public boolean interact(java.lang.String option)
interact
in interface SimpleInteractable
interact
in class SimpleItem
public boolean interact()
public boolean equals(java.lang.Object o)
equals
in class SimpleItem
public int hashCode()
hashCode
in class SimpleItem