Beispiel #1
0
 public static string Format(MetaPosition metaPosition)
 {
     return(String.Format("({0},{1}){2}",
                          metaPosition.Position.X,
                          metaPosition.Position.Y,
                          metaPosition.MetaData));
 }
Beispiel #2
0
 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));
 }