예제 #1
0
        public Rotor(char label, string layout, char notchPosition)
        {
            this.label         = label;
            this.layout        = layout;
            this.notchPosition = notchPosition;
            offset             = label - 65;

            this.previous = previous;
            this.next     = next;
        }
예제 #2
0
 public void SetPreviousRotor(Rotor previous)
 {
     this.previous = previous;
 }
예제 #3
0
 public void SetNextRotor(Rotor next)
 {
     this.next = next;
 }