示例#1
0
 public RotorInfo(RotorVariation type, char startingOffset = 'A', char ringSettingOffset = 'A')
 {
     Type = type;
     RingSettingOffset = ringSettingOffset;
     StartingOffset    = startingOffset;
 }
示例#2
0
 public static Rotor Create(RotorVariation type, char offset = 'A')
 {
     return(new Rotor(Settings.Default.Rotors[type], offset));
 }