Exemple #1
0
 public static ConsoleWithSquare CreateConsoleWithSquare()
 {
     if (Value == null)
     {
         Value = new ConsoleWithSquare();
     }
     return(Value);
 }
Exemple #2
0
 private ConsoleWithSquare() : base(Console.WindowWidth / 2, Console.WindowHeight)
 {
     Value             = this;
     ObjectInRectangle = new Dictionary <object, Coordinates>();
 }