public DefenderElf1(string name, int health, SolarSword solarSword, SolarShield solarShield) { this.Name = name; this.Health = health; this.SolarSword = solarSword; this.SolarShield = solarShield; this.BaseHealth = health; }
public void GetShield(SolarShield SolarShield) { this.SolarShield = SolarShield; }
public string MessageCharacter() { return($"Hero: {this.Name} \nHealth: {this.Health} \n_Items_{SolarSword.Message()}{SolarShield.Message()}\n"); }