Exemplo n.º 1
0
    public static string GetBaseText(AttackChoice option)
    {
        switch (option)
        {
        case AttackChoice.First:
            return("First");

        case AttackChoice.Last:
            return("Last");

        case AttackChoice.MostHealth:
            return("Most-Health");

        case AttackChoice.LeastHealth:
            return("Least-Health");

        case AttackChoice.MostDamage:
            return("Most-Damage");

        case AttackChoice.LeastDamage:
            return("Least-Damage");

        default:
            return("");
        }
    }
Exemplo n.º 2
0
    public static string GetDescription(AttackChoice option)
    {
        switch (option)
        {
        case AttackChoice.First:
            return("The Enemy Closest to base");

        case AttackChoice.Last:
            return("The Enemy Furthest from base");

        case AttackChoice.MostHealth:
            return("The Enemy with the Most Health");

        case AttackChoice.LeastHealth:
            return("The Enemy with the Least Health");

        case AttackChoice.MostDamage:
            return("The Enemy with the Most Damage");

        case AttackChoice.LeastDamage:
            return("The Enemy with the Least Damage");

        default:
            return("");
        }
    }
Exemplo n.º 3
0
 public PrepareWithLeaderPlan(PrepareWithLeaderPlan other) : base(other)
 {
     AttackPattern = other.AttackPattern;
 }
Exemplo n.º 4
0
 public PrepareWithLeaderPlan(AIFlags iq, AttackChoice attackPattern) : base(iq)
 {
     AttackPattern = attackPattern;
 }
Exemplo n.º 5
0
 public PreparePlan(PreparePlan other) : base(other)
 {
     AttackPattern = other.AttackPattern;
 }
Exemplo n.º 6
0
 protected AttackFoesPlan(AttackFoesPlan other) : base(other)
 {
     AttackPattern   = other.AttackPattern;
     PositionPattern = other.PositionPattern;
 }
Exemplo n.º 7
0
 public AttackFoesPlan(AIFlags iq, AttackChoice attackPattern, PositionChoice positionPattern) : base(iq)
 {
     AttackPattern   = attackPattern;
     PositionPattern = positionPattern;
 }