Class TileDestination

    • Constructor Detail

      • TileDestination

        public TileDestination​(Tile tile)
        Creates an instance of a Tile destination on the game screen
        Parameters:
        tile - Tile that is the destination
    • Method Detail

      • getArea

        public java.awt.geom.Area getArea()
        Gets the area of the abstract destination shape.
        Overrides:
        getArea in class AbstractMouseDestination<Tile>
        Returns:
        The Area generated from the abstract destination shape.
      • isVisible

        public boolean isVisible()
        Determines whether this destination is visible.
        Specified by:
        isVisible in class AbstractMouseDestination<Tile>
        Returns:
        Whether this destination is visible.