Class MiniMapTileDestination
- java.lang.Object
- 
- org.dreambot.api.input.mouse.destination.AbstractMouseDestination<Tile>
- 
- org.dreambot.api.input.mouse.destination.impl.MiniMapTileDestination
 
 
- 
 public class MiniMapTileDestination extends AbstractMouseDestination<Tile> 
- 
- 
Field Summary- 
Fields inherited from class org.dreambot.api.input.mouse.destination.AbstractMouseDestinationAREA_DESTINATION, ENTITY_DESTINATION, MINIMAP_DESTINATION, NULL, POINT_DESTINATION, POLYGON_DESTINATION, RECTANGLE_DESTINATION, SHAPE_DESTINATION, TILE_DESTINATION
 
- 
 - 
Constructor SummaryConstructors Constructor Description MiniMapTileDestination(Tile tile)Creates an instance of a minimap destination from a given tile
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.AreagetArea()Gets the area associated with the MiniMapTileDestination represented as an Ellipse2D with a diameter ofWalking.getMinimapTargetSize().java.awt.RectanglegetBoundingBox()Get the bounding box for the MiniMapTileDestination represented as a Rectangle with a width and height ofWalking.getMinimapTargetSize().java.awt.ShapegetDestinationShape()Gets the abstract destination shape.java.awt.PointgetSuitablePoint()Gets a gaussian distributed offset point within the bounding box of this mouse destination.booleanisVisible()Determines whether this destination is visible.inttype()Mouse destination type id.- 
Methods inherited from class org.dreambot.api.input.mouse.destination.AbstractMouseDestinationcanInteract, canInteract, contains, contains, containsMouse, getCenterPoint, getContainmentBounds, getInterrupt, getTarget, handleCamera, handleCamera, handleWalk, setContainmentBounds, setInterrupt, toString, valid, verifyPostInteract
 
- 
 
- 
- 
- 
Constructor Detail- 
MiniMapTileDestinationpublic MiniMapTileDestination(Tile tile) Creates an instance of a minimap destination from a given tile- Parameters:
- tile- Global Tile that is the destination on the minimap
 
 
- 
 - 
Method Detail- 
getAreapublic java.awt.geom.Area getArea() Gets the area associated with the MiniMapTileDestination represented as an Ellipse2D with a diameter ofWalking.getMinimapTargetSize().- Overrides:
- getAreain class- AbstractMouseDestination<Tile>
- Returns:
- an Area represented as an Ellipse2D.
 
 - 
getBoundingBoxpublic java.awt.Rectangle getBoundingBox() Get the bounding box for the MiniMapTileDestination represented as a Rectangle with a width and height ofWalking.getMinimapTargetSize().- Overrides:
- getBoundingBoxin class- AbstractMouseDestination<Tile>
- Returns:
- bounding box for destination
 
 - 
getSuitablePointpublic java.awt.Point getSuitablePoint() Description copied from class:AbstractMouseDestinationGets a gaussian distributed offset point within the bounding box of this mouse destination.- Overrides:
- getSuitablePointin class- AbstractMouseDestination<Tile>
- Returns:
- point within the bounding box of this mouse destination .
 
 - 
getDestinationShapepublic java.awt.Shape getDestinationShape() Gets the abstract destination shape.- Specified by:
- getDestinationShapein class- AbstractMouseDestination<Tile>
- Returns:
- The destination shape.
 
 - 
isVisiblepublic boolean isVisible() Determines whether this destination is visible.- Specified by:
- isVisiblein class- AbstractMouseDestination<Tile>
- Returns:
- Whether this destination is visible.
 
 - 
typepublic int type() Mouse destination type id.- Overrides:
- typein class- AbstractMouseDestination<Tile>
- Returns:
- the mouse destination type id.
 
 
- 
 
-