Class AgilityWebNode

    • Constructor Detail

      • AgilityWebNode

        public AgilityWebNode​(int x,
                              int y)
      • AgilityWebNode

        public AgilityWebNode​(org.dreambot.internal.web.WebNodes.WebNode node)
      • AgilityWebNode

        public AgilityWebNode​(int x,
                              int y,
                              int z)
    • Method Detail

      • execute

        public boolean execute()
        Description copied from class: AbstractWebNode
        This is called by the walker to handle the actual walking, entity handling, or whatever else needed to get past this node.
        Overrides:
        execute in class AbstractWebNode
        Returns:
        true if the node is successfully handled, false otherwise
      • getLevel

        public int getLevel()
      • setLevel

        public void setLevel​(int level)
      • forceNext

        public boolean forceNext()
        Description copied from class: AbstractWebNode
        This is used to see if the walker should AbstractWebNode.execute() this node even if there's a web node further along the GlobalPath that it can reach.

        This defaults to false, meaning that the walker can look for another web node further in the GlobalPath.

        Overrides:
        forceNext in class AbstractWebNode
        Returns:
        true if the walker should execute this node next no matter what, false otherwise
      • hasRequirements

        public boolean hasRequirements()
        Description copied from class: AbstractWebNode
        This is used to determine during path finding if the current player can use this node
        Overrides:
        hasRequirements in class AbstractWebNode
        Returns:
        true if it's usable by the current player, false otherwise
      • getType

        public WebNodeType getType()
        Description copied from class: AbstractWebNode
        Returns the WebNodeType of this node, used during path finding to ensure they're not disabled by the script
        Overrides:
        getType in class AbstractWebNode
        Returns:
        the type of web node
      • isValid

        public boolean isValid()
        Description copied from class: AbstractWebNode
        Checks the validity of this web node to see if it should be considered at all during path finding
        Overrides:
        isValid in class AbstractWebNode
        Returns:
        true if it's usable, false otherwise
      • getObjectName

        public java.lang.String getObjectName()
      • setObjectName

        public void setObjectName​(java.lang.String objectName)
      • getAction

        public java.lang.String getAction()
      • setAction

        public void setAction​(java.lang.String action)