Esempio n. 1
0
        public override void ActiveEnemyComponent()
        {
            SpellLeft = TotalSpellCount;

            CurrentEnenmyIndex = 0;

            CurrentEnemy = spawnEnemy(CurrentEnenmyIndex);
            CurrentEnemy.OnEnemyFinished += continueBoss;
            CurrentEnemy.ActiveEnemyComponent();
        }
Esempio n. 2
0
        private void continueToNextEnemy()
        {
            CurrentEnemy = spawnEnemy(CurrentEnenmyIndex);
            CurrentEnemy.OnEnemyFinished += continueBoss;

            if (CurrentEnemy is SpellCard)
            {
                SpellLeft--;
            }

            CurrentEnemy.ActiveEnemyComponent();
        }