Class GraphicView
java.lang.Object
privbot.mechanics.GraphicView
A detached copy of one graphics object (a ground effect such as a falling rock or a pool) taken at the tick of a
ThreatSnapshot. Immutable. It proves the graphic was drawn at tile() when the snapshot was read; it
says nothing about later ticks, so read a new snapshot to ask whether it is still there.
Pure data: no client calls, safe on any thread.
-
Constructor Summary
ConstructorsConstructorDescriptionGraphicView(int id, int startCycle, net.runelite.api.coords.WorldPoint tile) -
Method Summary
-
Constructor Details
-
GraphicView
public GraphicView(int id, int startCycle, net.runelite.api.coords.WorldPoint tile) - Parameters:
id- the graphic's idstartCycle- the client cycle it started ontile- the world tile it is drawn on
-
-
Method Details
-
id
public int id()- Returns:
- the graphic's id
-
startCycle
public int startCycle()- Returns:
- the client cycle it started on
-
tile
public net.runelite.api.coords.WorldPoint tile()- Returns:
- the world tile it is drawn on
-
equals
-
hashCode
-
toString
-