Exemplo n.º 1
0
        private static void OnContinue()
        {
            do
            {
                // Continue to next step.
                ++curStepIndex;

                // Reset.
                targetModeReached = false;

                // Check if we're done.
                if (InGame.XmlWorldData.tutorialSteps.Count <= curStepIndex)
                {
                    Deactivate();
                    break;
                }
                curStep = InGame.XmlWorldData.tutorialSteps[curStepIndex];
            } while (CurStepExcluded());

            Foley.PlayHeal(null);
        }   // end of OnContinue()