Class HintArrow


  • public class HintArrow
    extends java.lang.Object
    Represents the hint arrow.
    • Constructor Summary

      Constructors 
      Constructor Description
      HintArrow()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static NPC getNpc()
      Retrieves the NPC associated with the current hint arrow.
      static Player getPlayer()
      Returns the player pointed to by the hint arrow.
      static Character getPointed()
      Returns the character currently being pointed to by the hint arrow.
      static HintArrowType getType()
      Returns the type of the hint arrow being displayed.
      static WorldTile getWorldTile()
      Returns the Tile object corresponding to the hint arrow location.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HintArrow

        public HintArrow()
    • Method Detail

      • getType

        public static HintArrowType getType()
        Returns the type of the hint arrow being displayed.
        Returns:
        the type of the hint arrow
      • getPlayer

        public static Player getPlayer()
        Returns the player pointed to by the hint arrow.
        Returns:
        the player pointed to by the hint arrow, or null if no player is being pointed to.
      • getNpc

        public static NPC getNpc()
        Retrieves the NPC associated with the current hint arrow.
        Returns:
        the NPC associated with the hint arrow, or null if no NPC is present
      • getWorldTile

        public static WorldTile getWorldTile()
        Returns the Tile object corresponding to the hint arrow location.
        Returns:
        The Tile object representing the hint arrow location, or null if there is no target.
      • getPointed

        public static Character getPointed()
        Returns the character currently being pointed to by the hint arrow.
        Returns:
        the character being pointed to, or null if no character is being pointed to