Example #1
0
    public void Initalize(int lifeCount)
    {
        bossMoveCoroutine = MoveBossByPattern();
        Invulnerable      = false;
        InitalizeSpellCards();

        Life = lifeCount;

        // Pick a spellcard and invoke it.
        PickSpellCard();
        currentSpell.InvokeSpell();
        // Start moving the boss
        StartCoroutine(bossMoveCoroutine);
        Debug.Log("Inital move boss");
    }