Function AStar.setPointDisabled

Disables or enables the specified point for pathfinding. Useful for making a temporary obstacle.

void setPointDisabled (
  const(long) id,
  const(bool) disabled = true
) nothrow @nogc;