Class Web


  • public class Web
    extends Object
    • Constructor Detail

      • Web

        public Web()
    • Method Detail

      • resetSettings

        public static void resetSettings()
      • connect

        public static void connect​(io.netty.channel.EventLoopGroup bootstrap)
      • pathTo

        public static WebPath pathTo​(SceneNode node)
        Requests a path from the web server. Caches and recalculates based on the destination
        Parameters:
        node - - the destination
        Returns:
        path to the destination
      • pathBetween

        public static WebPath pathBetween​(SceneNode start,
                                          SceneNode end)
        Requests a path from the web server Does not cache the result
        Parameters:
        start - - the start position
        end - - the end position
        Returns:
        path from start to end
      • distance

        public static double distance​(SceneNode position)
        Requests a distance to the position from the web server
        Parameters:
        position - - the position
        Returns:
        the distance to the position
      • distance

        public static double distance​(SceneNode start,
                                      SceneNode end)
        Requests a distance between two positions from the web server
        Parameters:
        start - - the start position
        end - - the end position
        Returns:
        the distance between the two positions
      • debug

        public static void debug​(Object ctx,
                                 String msg)
      • setDebug

        public static void setDebug​(boolean debug)
      • disableWilderness

        public static void disableWilderness()
      • enableWilderness

        public static void enableWilderness()
      • isWildernessEnabled

        public static boolean isWildernessEnabled()
      • getCachedPath

        public static WebPath getCachedPath()
      • clearCachedPath

        public static void clearCachedPath()
      • getHouseProfile

        public static HouseProfile getHouseProfile()
      • setHouseProfile

        public static void setHouseProfile​(HouseProfile houseProfile)