public class TradeOfferItemDestination extends MouseDestination
| Constructor and Description |
|---|
TradeOfferItemDestination(Bot bot,
Trade.OfferOwner owner,
int slot) |
| 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.
|
static java.awt.Rectangle |
getSlot(Trade.OfferOwner owner,
int slot)
Deprecated.
|
boolean |
isVisible()
Determines whether this destination is visible.
|
getBot, getShape, isHover, setHoverpublic TradeOfferItemDestination(Bot bot, Trade.OfferOwner owner, int slot)
@Deprecated public static final java.awt.Rectangle getSlot(Trade.OfferOwner owner, int slot)
public java.awt.geom.Area getArea()
MouseDestinationArea
object.getArea in class MouseDestinationArea.public java.awt.Rectangle getBoundingBox()
MouseDestinationgetBoundingBox in class MouseDestinationpublic boolean isVisible()
MouseDestinationisVisible in class MouseDestinationpublic boolean evaluate()
MouseDestinationevaluate in class MouseDestination