public class BankSlotDestination extends MouseDestination
| Constructor and Description |
|---|
BankSlotDestination(Bot bot,
int widgetSlotId)
Creates an instance of this bank slot mouse destination.
|
| 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.
|
boolean |
isVisible()
Determines whether this destination is visible.
|
boolean |
isVisible(java.awt.Rectangle boundingBox) |
getBot, getShape, isHover, setHoverpublic BankSlotDestination(Bot bot, int widgetSlotId)
bot - The bot instancewidgetSlotId - The id of the widget slotpublic 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 isVisible(java.awt.Rectangle boundingBox)