Interface MoveToInfo

Automatic movement information.

interface MoveToInfo {
    config: {
        algorithm: ShortestPathAlgorithmType;
        distance: number;
        ignoreBlockedTarget: boolean;
        noPathFoundMaxRetries: number;
        noPathFoundRetryBackoffMs: number;
        noPathFoundStrategy: NoPathFoundStrategy;
        pathBlockedStrategy: PathBlockedStrategy;
        targetPos: LayerPosition;
    };
    state: {
        pathAhead: LayerPosition[];
    };
    type: string;
}

Hierarchy (view full)

Properties

Properties

config: {
    algorithm: ShortestPathAlgorithmType;
    distance: number;
    ignoreBlockedTarget: boolean;
    noPathFoundMaxRetries: number;
    noPathFoundRetryBackoffMs: number;
    noPathFoundStrategy: NoPathFoundStrategy;
    pathBlockedStrategy: PathBlockedStrategy;
    targetPos: LayerPosition;
}

Configuration of movement. This is custom for every automatic movement type

Type declaration

state: {
    pathAhead: LayerPosition[];
}

Current state of movement. This is custom for every automatic movement type

Type declaration

type: string

Type of movement