Esempio n. 1
0
 public MilitantGroup(string name, int health, int damage, IWarEffect warEffect, IAttack attack)
 {
     this.Name      = name;
     this.Health    = health;
     this.Damage    = damage;
     this.WarEffect = warEffect;
     this.Attack    = attack;
 }
 public GroupGame(int health, int damage, IAttackType attackType, IWarEffect warEffect)
 {
     this.Health = health;
     this.Damage = damage;
     this.AttackType = attackType;
     this.WarEffect = warEffect;
     this.IsAlive = true;
 }
Esempio n. 3
0
 public Group(string name, int healthPoints, int damage, IAttack attack, IWarEffect warEffect)
 {
     this.Name = name;
     this.StartingHealthPoints = healthPoints;
     this.HealthPoints = healthPoints;
     this.Damage = damage;
     this.Attack = attack;
     this.WarEffect = warEffect;
 }
Esempio n. 4
0
 public HacherGroup(string name, int health, int damage,
                    bool isAlive, IWarEffect warEffect, Attack attack)
 {
     this.Name          = name;
     this.Health        = health;
     this.InitialHealth = health;
     this.Damage        = damage;
     this.InitialDamage = damage;
     this.IsAlive       = isAlive;
     this.WarEffect     = warEffect;
     this.Attack        = attack;
 }
Esempio n. 5
0
 public HacherGroup(string name, int health, int damage,
     bool isAlive, IWarEffect warEffect, Attack attack)
 {
     this.Name = name;
     this.Health = health;
     this.InitialHealth = health;
     this.Damage = damage;
     this.InitialDamage = damage;
     this.IsAlive = isAlive;
     this.WarEffect = warEffect;
     this.Attack = attack;
 }
Esempio n. 6
0
 public Group(
     string name,
     int health,
     int damage,
     IWarEffect warEffect,
     string attackName)
 {
     this.Name          = name;
     this.Health        = health;
     this.InitialHealth = health;
     this.Damage        = damage;
     this.WarEffect     = warEffect;
     this.AttackName    = attackName;
     this.Updated       = false;
 }
Esempio n. 7
0
 public IHacherGroup CreateGacherGroup(string name, int damage, int health,
     bool isAlive, IWarEffect warEffect, Attack attack)
 {
     return new HacherGroup(name, damage, health, isAlive, warEffect, attack);
 }
Esempio n. 8
0
        public IGroup Create(string groupName, int groupHealth, int groupDamage, IWarEffect warEffect, string attackName)
        {
            IGroup group = new Group(groupName, groupHealth, groupDamage, warEffect, attackName);

            return(group);
        }
Esempio n. 9
0
 public IHacherGroup CreateGacherGroup(string name, int damage, int health,
                                       bool isAlive, IWarEffect warEffect, Attack attack)
 {
     return(new HacherGroup(name, damage, health, isAlive, warEffect, attack));
 }
Esempio n. 10
0
 public IMilitantGroup CreateGroup(string name, int health, int damage, IWarEffect effect, IAttack attack)
 {
     return(new MilitantGroup(name, health, damage, effect, attack));
 }