public void Rotate() { Position++; if (Position > 26) { Position = 1; } if (EnableNotch && Notches.Contains(Position)) { if (RotateNotch != null) { RotateNotch(); } } }
public void RotateBack() { Position--; if (Position < 1) { Position = 26; } if (EnableNotch && Notches.Contains(Position)) { if (RotateNotchBack != null) { RotateNotchBack(); } } }