public static Turtle Instance(Point position) { return(_turtle ?? (_turtle = new Turtle(position))); }
public static void Print(EscapeMines.Library.Models.Turtle turtle) { Console.WriteLine(startString.Replace("{x}", turtle.Position.X.ToString()).Replace("{y}", turtle.Position.Y.ToString()).Replace("{dir}", turtle.Direction.ToString())); Console.WriteLine(new string('-', 50)); }