[Pathfinding] Added Direction.