Beispiel #1
0
 public Chair(string designation, Scissor leftScissor, Scissor rightScissor)
 {
     _designation  = designation;
     _leftScissor  = leftScissor;
     _rightScissor = rightScissor;
     _sessionsLeft = 10;
 }
Beispiel #2
0
        public HairThreader()
        {
            ab = new Scissor("AB");
            bc = new Scissor("BC");
            cd = new Scissor("CD");
            de = new Scissor("DE");
            ef = new Scissor("EF");
            fa = new Scissor("FA");

            a = new Chair("A", fa, ab);
            b = new Chair("B", ab, bc);
            c = new Chair("C", bc, cd);
            d = new Chair("D", cd, de);
            e = new Chair("E", de, ef);
            f = new Chair("F", ef, fa);
        }