public class InteractableObject extends Modeled<org.osbot.rs07.accessor.XInteractableObject> implements RS2Object
model, prioritized| Constructor and Description |
|---|
InteractableObject(org.osbot.rs07.accessor.XInteractableObject instance)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Animable<?> |
getAnimable()
Gets the
Animable instance. |
int |
getAnimationId()
Gets the current animation of this object, -1 if not animating
|
int |
getConfig()
Gets the config for this object.
|
int |
getGridX()
Gets the grid x coordinate for this entity.
|
int |
getGridY()
Gets the grid y coordinate for this entity.
|
int |
getLocalX()
Gets the local x coordinate for this entity.
|
int |
getLocalY()
Gets the local y coordinate for this entity.
|
int |
getOrientation()
Gets the orientation for this object.
|
int |
getSizeX()
Gets the size of this entity in the x dimension.
|
int |
getSizeY()
Gets the size of this entity in the y dimension.
|
long |
getUUID()
Gets the UID for this object.
|
boolean |
isGameObject()
Determines whether this primary object is an instance of a game object.
|
boolean |
isGroundObject()
Determines whether this primary object is an instance of a ground object.
|
boolean |
isNPC()
Determines whether this primary object is an instance of an NPC object.
|
boolean |
isPlayer()
Determines whether this primary object is an instance of a Player object.
|
getHeight, getModel, isPrioritized, setPrioritized, updateModelgetClient, getMethodsequals, getBot, supplyWrappers, wrap, wrapArraygetClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActions, getDefinition, getId, getModelIds, getName, getType, getUID, getX, getY, getZ, hoverpublic InteractableObject(org.osbot.rs07.accessor.XInteractableObject instance)
instance - The XInteractableObject instancepublic Animable<?> getAnimable()
Animable instance.getAnimable in class Modeled<org.osbot.rs07.accessor.XInteractableObject>Animable instance.public long getUUID()
public boolean isPlayer()
public boolean isNPC()
public boolean isGameObject()
public boolean isGroundObject()
public int getConfig()
public int getLocalX()
public int getLocalY()
public int getGridX()
public int getGridY()
public int getOrientation()
getOrientation in interface RS2Objectpublic int getSizeX()
public int getAnimationId()