Class Reachability


  • public class Reachability
    extends java.lang.Object
    • Constructor Detail

      • Reachability

        public Reachability()
    • Method Detail

      • isReachable

        public static boolean isReachable​(int x1,
                                          int y1,
                                          int x2,
                                          int y2,
                                          Grid grid)
      • isReachable

        public static boolean isReachable​(int x1,
                                          int y1,
                                          int x2,
                                          int y2,
                                          int scale,
                                          Grid grid)
      • getClosestWalkablePointToTarget

        public static long getClosestWalkablePointToTarget​(int x1,
                                                           int y1,
                                                           int x2,
                                                           int y2,
                                                           Grid grid)
      • getClosestWalkablePointToTarget

        public static long getClosestWalkablePointToTarget​(int x1,
                                                           int y1,
                                                           int x2,
                                                           int y2,
                                                           int scale,
                                                           Grid grid)