Exemple #1
0
    /// <summary>
    /// Resets all pins to their raised position above the swiper.
    /// </summary>
    public void RenewPins()
    {
        // Reset the pins to their start position
        foreach (Pin pin in pins)
        {
            pin.Reset();
        }
        // Raise the pins above the swiper
        RaisePins();

        // Reset the pin counter
        pinCounter.AllPinsReset();
    }