예제 #1
0
    void becomeSeduced(EnemyData.CombatType combatType)
    {
        switch (combatType)
        {
        case EnemyData.CombatType.Melee:
            myMovement.changeState(new MeleeEnemySeduced());
            break;

        case EnemyData.CombatType.SpellCaster:
            break;

        case EnemyData.CombatType.Mixed:
            break;

        case EnemyData.CombatType.Ranged:
            break;

        case EnemyData.CombatType.Support:
            break;
        }
    }
예제 #2
0
    void becomeAggro(EnemyData.CombatType combatType)
    {
        switch (combatType)
        {
        case EnemyData.CombatType.Melee:
            myOwner.changeState(new MeleeEnemyChase());
            break;

        case EnemyData.CombatType.SpellCaster:
            myOwner.changeState(new SpellCasterEnemyAggro());
            break;

        case EnemyData.CombatType.Mixed:
            break;

        case EnemyData.CombatType.Ranged:
            break;

        case EnemyData.CombatType.Support:
            break;
        }
    }
 public override void becomeAggro(EnemyData.CombatType combatType)
 {
 }