Ejemplo n.º 1
0
    private void ResetTricks()
    {
        currentLeeway = 0;

        //For every trick that is currently possible.
        for (int i = 0; i < currentTricks.Count; i++)
        {
            Trick trick = tricks[currentTricks[i]];
            //Set that Trick's current input to 0.
            trick.ResetTrick();
        }

        //Clear the list of current possible Tricks.
        currentTricks.Clear();
    }