Class GraphicsObject
- java.lang.Object
-
- net.eternalclient.api.wrappers.interactives.GraphicsObject
-
- All Implemented Interfaces:
Positionable
public class GraphicsObject extends java.lang.Object implements Positionable
This class represents a graphics object and provides methods to retrieve information about its ID, coordinates, plane, width, and height.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
GraphicsObject.State
-
Constructor Summary
Constructors Constructor Description GraphicsObject(RSGraphicsObject graphicsObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
int
getId()
int
getLocalX()
int
getLocalY()
int
getPlane()
RSGraphicsObject
getReference()
int
getRegionX()
int
getRegionY()
int
getSceneX()
int
getSceneY()
int
getWidth()
RSWorldView
getWorldView()
int
getWorldX()
int
getWorldY()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.eternalclient.api.interfaces.Positionable
canReach, canReach, canReachSurrounding, canReachSurrounding, derive, derive, derive, distance, distance, distanceTo, distanceTo2D, distanceTo2DHypotenuse, distanceToHypotenuse, distanceToPath, draw, drawMinimapDot, drawText, getCanvasTextLocation, getCanvasTilePoly, GetChunkRotation, getLocalTile, getMinimapPoint, getMovementFlags, getRectArea, getRegionId, getRegionTile, getSceneTile, getSurroundingArea, getWalkableTile, getWorldTile, hasLineOfSightTo, hasLineOfSightTo, inLineOfSight, isInArea, isInArea, isInArea2D, isInArea2D, isInMeleeDistance, isInScene, isUnderRoof, locatedAt, pathTo, walkingDistance
-
-
-
-
Constructor Detail
-
GraphicsObject
public GraphicsObject(RSGraphicsObject graphicsObject)
-
-
Method Detail
-
getId
public int getId()
-
getReference
public RSGraphicsObject getReference()
-
getWorldView
public RSWorldView getWorldView()
- Specified by:
getWorldView
in interfacePositionable
-
getPlane
public int getPlane()
- Specified by:
getPlane
in interfacePositionable
-
getWorldX
public int getWorldX()
- Specified by:
getWorldX
in interfacePositionable
-
getWorldY
public int getWorldY()
- Specified by:
getWorldY
in interfacePositionable
-
getSceneX
public int getSceneX()
- Specified by:
getSceneX
in interfacePositionable
-
getSceneY
public int getSceneY()
- Specified by:
getSceneY
in interfacePositionable
-
getLocalX
public int getLocalX()
- Specified by:
getLocalX
in interfacePositionable
-
getLocalY
public int getLocalY()
- Specified by:
getLocalY
in interfacePositionable
-
getRegionX
public int getRegionX()
- Specified by:
getRegionX
in interfacePositionable
-
getRegionY
public int getRegionY()
- Specified by:
getRegionY
in interfacePositionable
-
getWidth
public int getWidth()
- Specified by:
getWidth
in interfacePositionable
-
getHeight
public int getHeight()
- Specified by:
getHeight
in interfacePositionable
-
-