private void GenerateRoad(ITypedPathCell <T> pointA, ITypedPathCell <T> pointB, RoadCellMap <T> roadMap)
        {
            var end = roadMap.BuildPath(pointA, pointB).Result;

            RenderPathToMap(pointB);
            RenderVectorSquare(pointA, 0, 255, 0);
            RenderVectorSquare(pointB, 0, 255, 0);
        }
        private void GenerateRoad(RoadCell pointA, RoadCell pointB, RoadCellMap roadMap)
        {
            var end = roadMap.BuildPath(pointA, pointB).Result;

            //var path = roadMap.BuildPathUsingAStar(pointA, pointB);
            RenderPathToMap(pointB);
            RenderVectorSquare(pointA, 0, 255, 0);
            RenderVectorSquare(pointB, 0, 255, 0);
        }