public class GraphicsObject extends Animable<org.osbot.rs07.accessor.XGraphicsObject>
model, prioritized
Constructor and Description |
---|
GraphicsObject(org.osbot.rs07.accessor.XGraphicsObject instance)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Area |
getArea(int radius)
Gets the area of the
GraphicsObject |
int |
getGridX()
Gets the grid x position of the
GraphicsObject |
int |
getGridY()
Gets the grid x position of the
GraphicsObject |
int |
getId()
Gets the id of the
GraphicsObject |
Position |
getPosition()
Gets the position of the
GraphicsObject |
int |
getX()
Gets the x position of the
GraphicsObject |
int |
getY()
Gets the y position of the
GraphicsObject |
int |
getZ()
Gets the z position of the
GraphicsObject |
boolean |
isOnScreen()
Checks if the
GraphicsObject is on screen |
boolean |
isVisible()
Checks if the
GraphicsObject is visible |
getAnimable, getModelHeight
getHeight, getModel, isPrioritized, setPrioritized, updateModel
getClient, getMethods
public GraphicsObject(org.osbot.rs07.accessor.XGraphicsObject instance)
instance
- the XAnimable
instancepublic int getId()
GraphicsObject
GraphicsObject
public int getX()
GraphicsObject
GraphicsObject
public int getY()
GraphicsObject
GraphicsObject
public int getZ()
GraphicsObject
GraphicsObject
public Position getPosition()
GraphicsObject
GraphicsObject
public Area getArea(int radius)
GraphicsObject
radius
- The radius of the areaGraphicsObject
public int getGridX()
GraphicsObject
GraphicsObject
public int getGridY()
GraphicsObject
GraphicsObject
public boolean isVisible()
GraphicsObject
is visibleGraphicsObject
is visiblepublic boolean isOnScreen()
GraphicsObject
is on screenGraphicsObject
is on screen