/// <summary> /// Constructor accepting the start and end coordinates of the new maze wall. /// </summary> /// <param name="xStart">X start coordinate.</param> /// <param name="yStart">Y start coordinate.</param> /// <param name="xEnd">X end coordinate.</param> /// <param name="yEnd">Y end coordinate.</param> public MazeStructureWall(int xStart, int yStart, int xEnd, int yEnd) { StartMazeStructurePoint = new MazeStructurePoint(xStart, yStart); EndMazeStructurePoint = new MazeStructurePoint(xEnd, yEnd); }
/// <summary> /// Converts evolved point (start or finish) to experiment domain point for the navigator start location and the target /// (goal). /// </summary> /// <param name="point">The point to convert.</param> /// <returns>The domain-specific point object.</returns> private static DoublePoint ExtractStartEndPoint(MazeStructurePoint point) { return(new DoublePoint(point.X, point.Y)); }