Package net.runelite.api
Interface GraphicsObject
-
- All Superinterfaces:
Node
,Renderable
public interface GraphicsObject extends Renderable
Represents a graphics object/spotanim.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
finished()
Checks if this spotanim is done animatingint
getHeight()
Gets the height of the graphic.int
getId()
The graphics object ID.int
getLevel()
The plane the spotanim is on.LocalPoint
getLocation()
The location of the object.int
getStartCycle()
Get the time this spotanim starts-
Methods inherited from interface net.runelite.api.Node
getHash, getNext, getPrevious
-
Methods inherited from interface net.runelite.api.Renderable
draw, getModel, getModelHeight, setModelHeight
-
-
-
-
Method Detail
-
getId
int getId()
The graphics object ID.- Returns:
- the ID
-
getLocation
LocalPoint getLocation()
The location of the object.- Returns:
- the location
-
getStartCycle
int getStartCycle()
Get the time this spotanim starts- Returns:
-
getLevel
int getLevel()
The plane the spotanim is on.- Returns:
-
getHeight
int getHeight()
Gets the height of the graphic.- Returns:
- the height
-
finished
boolean finished()
Checks if this spotanim is done animating- Returns:
-
-