public horizontal(int xl, int xp, int y, char s) { tList = new List <tochka>(); for (int x = xl; x <= xp; x++) { tochka t = new tochka(x, y, s); tList.Add(t); } }
public vertikal(int yv, int yn, int x, char s) { tList = new List <tochka>(); for (int y = yv; y <= yn; y++) { tochka t = new tochka(x, y, s); tList.Add(t); } }