Ejemplo n.º 1
0
    private void SummonMonster()
    {
        switch (currentSummon)
        {
        case SummonPregress.None:
        {
            SetNextState(AIAgent.STATE.SUMMON, true);
            _isSummonFinish1 = true;
            currentSummon    = SummonPregress.Step1;
        }
        break;

        case SummonPregress.Step1:
        {
            SetNextState(AIAgent.STATE.SUMMON, true);
            _isSummonFinish2 = true;
            currentSummon    = SummonPregress.Step2;
        }
        break;

        case SummonPregress.Step2:
        {
            SetNextState(AIAgent.STATE.SUMMON, true);
            _isSummonFinish3 = true;
            currentSummon    = SummonPregress.Step3;
        }
        break;

        case SummonPregress.Step3:
        {
            SetNextState(AIAgent.STATE.SUMMON, true);
            _isSummonFinish4 = true;
            currentSummon    = SummonPregress.Step4;
        }
        break;

        case SummonPregress.Step4:
        {
            SetNextState(AIAgent.STATE.SUMMON, true);
            _isSummonFinish5 = true;
            currentSummon    = SummonPregress.Step5;
        }
        break;
        }
    }
Ejemplo n.º 2
0
    public override void ActiveAI()
    {
        base.ActiveAI();

        currentSummon = SummonPregress.None;
    }