grid-engine
    Preparing search index...

    Enumeration NoPathFoundStrategy

    Different strategies that determine the behavior of pathfinding if no path could be found.

    Index

    Enumeration Members

    ALTERNATIVE_TARGETS: "ALTERNATIVE_TARGETS"

    Tries each of MoveToConfig.alternativeTargets. If there does not exist a path to any of these targets, MoveToConfig.noPathFoundAlternativeTargetsFallbackStrategy determines the fallback strategy.

    CLOSEST_REACHABLE: "CLOSEST_REACHABLE"

    Look for the closest point (manhattan distance) to the target position that is reachable.

    RETRY: "RETRY"

    Tries again after MoveToConfig.noPathFoundRetryBackoffMs milliseconds until the maximum amount of retries (MoveToConfig.noPathFoundMaxRetries) has been reached. By default, MoveToConfig.noPathFoundMaxRetries is -1, which means that there is no maximum number of retries and it will try again possibly "forever".

    STOP: "STOP"

    Simply stops pathfinding if no path could be found.