Beispiel #1
0
 public static void DrawBasicFunction(int x, int b)
 {
     for (int i = -Console.LargestWindowHeight / 2; x *i + b < Console.LargestWindowHeight / 2 && i < Console.LargestWindowWidth / 2; i++)
     {
         Cartisian.SetCartCoords(i, x * i + b);
         Console.Write('#');
     }
 }
Beispiel #2
0
 public static void DrawSystem()
 {
     for (int i = -Console.LargestWindowWidth / 2; i < Console.LargestWindowWidth / 2; i++)
     {
         Cartisian.SetCartCoords(i, 0);
         Console.Write("#");
     }
     for (int i = -Console.LargestWindowHeight / 2; i < Console.LargestWindowHeight / 2; i++)
     {
         Cartisian.SetCartCoords(0, i);
         Console.Write("#");
     }
 }
Beispiel #3
0
 public void CartShow()
 {
     Cartisian.SetCartCoords(this.x, this.y);
     Console.Write('*');
 }