public Race(IRacePartFactory racePartFactory) { Head = racePartFactory.CreateHead(); Skin = racePartFactory.CreateSkin(); Stature = racePartFactory.CreateStature(); }
public Race(IRacePartsFactory raceFactory) { this.Head = raceFactory.CreateHead(); this.Stature = raceFactory.CreateStature(); this.Skin = raceFactory.CreateSkin(); }