Class AbstractMouseDestination<T>
java.lang.Object
org.highlife.api.input.mouse.destination.AbstractMouseDestination<T>
- Direct Known Subclasses:
EntityDestination,MiniMapTileDestination,PointDestination,ShapeDestination,TileDestination
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancanInteract(String action) booleanbooleancontains(AbstractMouseDestination destination) booleangetArea()abstract ShapebooleanbooleanhandleCamera(boolean withZoom, Condition interrupt) booleanabstract booleanvoidsetContainmentBounds(Rectangle containmentBounds) voidsetInterrupt(Condition interrupt) toString()inttype()booleanvalid()boolean
-
Constructor Details
-
AbstractMouseDestination
-
-
Method Details
-
getTarget
-
getDestinationShape
-
getBoundingBox
-
handleCamera
public boolean handleCamera() -
handleCamera
-
handleWalk
public boolean handleWalk() -
getArea
-
getContainmentBounds
-
setContainmentBounds
-
isVisible
public abstract boolean isVisible() -
valid
public boolean valid() -
type
public int type() -
getCenterPoint
-
containsMouse
public boolean containsMouse() -
contains
-
contains
-
getSuitablePoint
-
canInteract
public boolean canInteract() -
canInteract
-
verifyPostInteract
public boolean verifyPostInteract() -
toString
-
getInterrupt
-
setInterrupt
-