Ejemplo n.º 1
0
 override public void Execute(EnemyAI enemyAi)
 {
     enemyAi.Stand();
     if (enemyAi.bSight())
     {
         enemyAi.ChangeState(BossTrace.Instance());
     }
 }
Ejemplo n.º 2
0
    override public void Execute(EnemyAI enemyAi)
    {
        HellephantAI helle = enemyAi as HellephantAI;

        helle.Skill_EarthQuake();

        switch (helle.Active())
        {
        case 0:
            break;

        case 1:
            helle.ChangeState(BossRush.Instance());
            break;

        case 2:
            helle.ChangeState(BossTrace.Instance());
            break;

        default:
            break;
        }
    }