mwg API
    Preparing search index...

    Type Alias RouteTarget

    RouteTarget:
        | { x: number; y: number }
        | { target: () => { x: number; y: number } }

    Where a toward/away step aims: fixed tile coordinates, or a function asked when the step is reached, for a target that keeps moving (a player, another event).