Class PointDestination
java.lang.Object
org.sketchy.api.input.mouse.destination.AbstractMouseDestination
org.sketchy.api.input.mouse.destination.impl.PointDestination
Written by hand (Sketchy compat layer): one point.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe destination's shape on screen, null when it is not visible.A point inside the shape (central part of the box, retried until it falls inside).inttype()Methods inherited from class AbstractMouseDestination
canInteract, canInteract, contains, contains, getArea, getBoundingBox, getCenterPoint, getContainmentBounds, getInterrupt, getTarget, handleCamera, handleCamera, handleWalk, isVisible, setContainmentBounds, setInterrupt, toString, valid, verifyPostInteract
-
Constructor Details
-
PointDestination
-
-
Method Details
-
getDestinationShape
Description copied from class:AbstractMouseDestinationThe destination's shape on screen, null when it is not visible.- Specified by:
getDestinationShapein classAbstractMouseDestination
-
getSuitablePoint
Description copied from class:AbstractMouseDestinationA point inside the shape (central part of the box, retried until it falls inside).- Overrides:
getSuitablePointin classAbstractMouseDestination
-
containsMouse
public boolean containsMouse()- Overrides:
containsMousein classAbstractMouseDestination
-
type
public int type()- Overrides:
typein classAbstractMouseDestination
-