public LPRoute5() { color = "фиолетовая"; countLP = 20; linePart = new LinePart[countLP]; for (int i = 0; i < countLP; i++) { linePart[i] = new LinePart(i, 5); } }
public LPRoute4() { color = "красная"; countLP = 22; linePart = new LinePart[countLP]; for (int i = 0; i < countLP; i++) { linePart[i] = new LinePart(i, 4); } }
public LPRoute2() { color = "зеленая"; countLP = 20; linePart = new LinePart[countLP]; for (int i = 0; i < countLP; i++) { linePart[i] = new LinePart(i, 2); } }
public LPRoute3() { color = "синяя"; countLP = 22; linePart = new LinePart[countLP]; for (int i = 0; i < countLP; i++) { linePart[i] = new LinePart(i, 3); } }
public LPRoute1() { color = "желтая"; countLP = 16; linePart = new LinePart[countLP]; for (int i = 0; i < countLP; i++) { linePart[i] = new LinePart(i, 1); } }