Class WebPathQuery


  • public class WebPathQuery
    extends java.lang.Object
    Web Path Query to calculate a possible web path from a tile to a tile with the option of including the bank cache for required items.
    • Method Detail

      • canUseBankCache

        public boolean canUseBankCache()
      • hasRequiredItems

        public boolean hasRequiredItems()
        Checks to see if you have all required items for the calculated WebPathResponse
        Returns:
        True if you have all required items, false if you don't have all required items or path has not been calculated yet.
      • getGlobalPath

        public GlobalPath<AbstractWebNode> getGlobalPath()
        Returns a GlobalPath that contains all of the web nodes from the calculated response. Returns empty global path if path has not been calculated yet.
      • getFrom

        public Tile getFrom()
      • getTo

        public Tile getTo()
      • isUseBankCache

        public boolean isUseBankCache()
      • getWithItems

        public java.util.List<Item> getWithItems()
      • setFrom

        public void setFrom​(Tile from)
      • setTo

        public void setTo​(Tile to)
      • setUseBankCache

        public void setUseBankCache​(boolean useBankCache)
      • setWithItems

        public void setWithItems​(java.util.List<Item> withItems)
      • setCalculated

        public void setCalculated​(WebPathResponse calculated)