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; }
public void SetPreviousRotor(Rotor previous) { this.previous = previous; }
public void SetNextRotor(Rotor next) { this.next = next; }