public Character(string name, double health, double armor, double abilityPoints, Bag bag, Faction faction) { this.Name = name; this.BaseHealth = health; this.Health = this.BaseHealth; this.BaseArmor = armor; this.Armor = this.BaseArmor; this.AbilityPoints = abilityPoints; this.Bag = bag; this.Faction = faction; this.IsAlive = true; this.RestHealMultiplier = 0.2; }
public Character(string name, double health, double armor, double abilityPoints, Bag bag, Faction faction) { this.Name = name; this.Health = health; this.Armor = armor; this.AbilityPoints = abilityPoints; this.Bag = bag; this.Faction = faction; }
protected Character(string name, double health, double armor, double abilityPoints, Bag bag, Faction faction) { this.Name = name; this.BaseHealth = health; this.BaseArmor = armor; this.Health = BaseHealth; this.Armor = BaseArmor; this.AbilityPoints = abilityPoints; this.Bag = bag; this.Faction = faction; this.IsAlive = true; }
protected Character(string name, double health, double armor, double abilityPoints, Bag bag, Faction faction) { Name = name; BaseHealth = health; Health = health; BaseArmor = armor; Armor = armor; AbilityPoints = abilityPoints; Bag = bag; Faction = faction; IsAlive = true; }