public Hero(HeroFactory factory, string name, Race race) { Name = name; Race = race; Health = factory.Health; armor = factory.CreateArmor(); weapon = factory.CreateWeapon(); }
public Hero(HeroFactory factory) { weapon = factory.CreateWeapon(); movement = factory.CreateMovement(); }