public class MiniMapTileDestination extends MouseDestination
| Constructor and Description |
|---|
MiniMapTileDestination(Bot bot,
Position position)
Creates an instance of this mouse destination for a tile displayed on the minimap.
|
MiniMapTileDestination(Bot bot,
Position position,
boolean exactPosition) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate()
Evaluates whether an interaction for this mouse destination is allowed to
be performed.
|
java.awt.geom.Area |
getArea()
Gets the destination area specified by a
Area
object. |
java.awt.Rectangle |
getBoundingBox()
Gets the bounding box rectangle of this mouse destination.
|
java.awt.Point |
getExactPoint() |
boolean |
isExactPosition() |
boolean |
isVisible()
Determines whether this destination is visible.
|
getBot, getShape, isHover, setHoverpublic MiniMapTileDestination(Bot bot, Position position)
bot - The bot instance.position - The position of the tile that is the destination on the minimap.public java.awt.geom.Area getArea()
MouseDestinationArea
object.getArea in class MouseDestinationArea.public boolean evaluate()
MouseDestinationevaluate in class MouseDestinationpublic java.awt.Rectangle getBoundingBox()
MouseDestinationgetBoundingBox in class MouseDestinationpublic boolean isVisible()
MouseDestinationisVisible in class MouseDestinationpublic boolean isExactPosition()
public java.awt.Point getExactPoint()