Class AbstractMouseDestination<T>

java.lang.Object
org.highlife.api.input.mouse.destination.AbstractMouseDestination<T>
Direct Known Subclasses:
EntityDestination, MiniMapTileDestination, PointDestination, ShapeDestination, TileDestination

public abstract class AbstractMouseDestination<T> extends Object
  • Constructor Details

    • AbstractMouseDestination

      public AbstractMouseDestination(T destination)
  • Method Details

    • getTarget

      public T getTarget()
    • getDestinationShape

      public abstract Shape getDestinationShape()
    • getBoundingBox

      public Rectangle getBoundingBox()
    • handleCamera

      public boolean handleCamera()
    • handleCamera

      public boolean handleCamera(boolean withZoom, Condition interrupt)
    • handleWalk

      public boolean handleWalk()
    • getArea

      public Area getArea()
    • getContainmentBounds

      public Rectangle getContainmentBounds()
    • setContainmentBounds

      public void setContainmentBounds(Rectangle containmentBounds)
    • isVisible

      public abstract boolean isVisible()
    • valid

      public boolean valid()
    • type

      public int type()
    • getCenterPoint

      public Point getCenterPoint()
    • containsMouse

      public boolean containsMouse()
    • contains

      public boolean contains(Point point)
    • contains

      public boolean contains(AbstractMouseDestination destination)
    • getSuitablePoint

      public Point getSuitablePoint()
    • canInteract

      public boolean canInteract()
    • canInteract

      public boolean canInteract(String action)
    • verifyPostInteract

      public boolean verifyPostInteract()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getInterrupt

      public Condition getInterrupt()
    • setInterrupt

      public void setInterrupt(Condition interrupt)