Class OSRSHintArrow
- java.lang.Object
-
- com.runemate.game.api.osrs.local.hud.OSRSHintArrow
-
- All Implemented Interfaces:
Locatable
,Renderable
,HintArrow
,Validatable
public final class OSRSHintArrow extends java.lang.Object implements HintArrow, Validatable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Area.Rectangular
getArea()
The coordinate area occupied on the world-graphCoordinate.HighPrecision
getHighPrecisionPosition()
The exact coordinate position of this entity on the region-graph (accurate to hundreds of units per tile)static OSRSHintArrow
getInstance()
@Nullable Coordinate
getPosition()
The exact coordinate position of this entity on the world-graphActor
getTarget()
int
getType()
boolean
isValid()
Verifies whether this entity is valid and still exists, typically on the world-graphvoid
render(java.awt.Graphics2D g2d)
Renders this entity onto the givenGraphics2D
, use is discouragedvoid
render(javafx.scene.canvas.GraphicsContext gc)
Renders this entity onto the givenGraphicsContext
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.runemate.game.api.hybrid.entities.details.Locatable
distanceTo, distanceTo, getLocalPosition
-
-
-
-
Method Detail
-
getInstance
public static OSRSHintArrow getInstance()
-
getPosition
@Nullable public @Nullable Coordinate getPosition()
Description copied from interface:Locatable
The exact coordinate position of this entity on the world-graph- Specified by:
getPosition
in interfaceLocatable
- Returns:
- The coordinate position, or null if unavailable
-
getHighPrecisionPosition
@Nullable public Coordinate.HighPrecision getHighPrecisionPosition()
Description copied from interface:Locatable
The exact coordinate position of this entity on the region-graph (accurate to hundreds of units per tile)- Specified by:
getHighPrecisionPosition
in interfaceLocatable
-
getArea
@Nullable public Area.Rectangular getArea()
Description copied from interface:Locatable
The coordinate area occupied on the world-graph
-
isValid
public boolean isValid()
Description copied from interface:Validatable
Verifies whether this entity is valid and still exists, typically on the world-graph- Specified by:
isValid
in interfaceValidatable
- Returns:
- true if it's still available, otherwise false
-
render
public void render(java.awt.Graphics2D g2d)
Description copied from interface:Renderable
Renders this entity onto the givenGraphics2D
, use is discouraged- Specified by:
render
in interfaceRenderable
-
render
public void render(javafx.scene.canvas.GraphicsContext gc)
Description copied from interface:Renderable
Renders this entity onto the givenGraphicsContext
- Specified by:
render
in interfaceRenderable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-