public abstract class MouseDestination
extends java.lang.Object
Constructor and Description |
---|
MouseDestination(Bot bot)
Constructor to be used in the OSBot 2 classes.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
evaluate()
Evaluates whether an interaction for this mouse destination is allowed to
be performed.
|
abstract java.awt.geom.Area |
getArea()
Gets the destination area specified by a
Area
object. |
Bot |
getBot() |
abstract java.awt.Rectangle |
getBoundingBox()
Gets the bounding box rectangle of this mouse destination.
|
java.awt.Shape |
getShape()
Gets the optimal shape of this mouse destination.
|
boolean |
isHover()
Determines if this mouse destination is for hovering only.
|
abstract boolean |
isVisible()
Determines whether this destination is visible.
|
MouseDestination |
setHover(boolean hover)
Sets whether or not this mouse destination is for hovering only.
|
public MouseDestination(Bot bot)
bot
- The bot instancepublic Bot getBot()
public boolean isHover()
public MouseDestination setHover(boolean hover)
hover
- The hover only valuepublic abstract java.awt.geom.Area getArea()
Area
object.Area
.public abstract boolean evaluate()
public abstract java.awt.Rectangle getBoundingBox()
public java.awt.Shape getShape()
public abstract boolean isVisible()