Implemented pathfinding for Actors. Not tested.