public Swordsman( string id, string name, int healthPoints, IDamage damage, IArmor armor) : base(id, name, healthPoints, damage) { AttackHandlers.Add(armor); ArmorPoints = armor.ArmorPoints; }
public ArcherCaptain( string id, string name, int healthPoints, int manaPoints, IDamage damage, IActiveSkill activeSkill, IArmor armor) : base(id, name, healthPoints, manaPoints, damage, activeSkill) { AttackHandlers.Add(armor); ArmorPoints = armor.ArmorPoints; }
public Skeleton( string id, string name, int healthPoints, IDamage damage, IArmor armor, IPassiveSkill passiveSkill) : base(id, name, healthPoints, damage) { AttackHandlers.Add(passiveSkill); AttackModule.AddAttackProducer(passiveSkill); ArmorPoints = armor.ArmorPoints; PassiveSkill = passiveSkill; }