Class BasicWebNode

    • Constructor Detail

      • BasicWebNode

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

        public BasicWebNode​(int x,
                            int y,
                            int z)
      • BasicWebNode

        public BasicWebNode​(org.dreambot.internal.web.WebNodes.WebNode node)
    • Method Detail

      • 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
      • 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
      • 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
      • getRandomizationFactor

        public double getRandomizationFactor()
      • setRandomizationFactor

        public void setRandomizationFactor​(double randomizationFactor)
      • setValid

        public void setValid​(Condition valid)