public static string Format(MetaPosition metaPosition) { return(String.Format("({0},{1}){2}", metaPosition.Position.X, metaPosition.Position.Y, metaPosition.MetaData)); }
private static void Print(MazeParams mazeParams, MetaPosition endPosition) { Console.WriteLine("(X,Y) = ({0},{1})", mazeParams.Width, mazeParams.Length); Console.WriteLine("start: {0}", MetaPositionStringFormatter.Format(mazeParams.LaserStart)); Console.WriteLine("end: {0}", MetaPositionStringFormatter.Format(endPosition)); }