public NecromancerDetectionResultViewModel (NecromancerService necromancerService, int? roll = null) { _necromancerService = necromancerService; if (!roll.HasValue) roll = new D6GeneratorService ().RollDemBones (); NecromancerRoll = roll.Value; DetectHero (); }
public GameSetupViewModel (D6GeneratorService d6Generator) { _d6Generator = d6Generator; Locations = new ObservableCollection<LocationViewModel> (); Initialise (); }
public NecromancerService (D6GeneratorService d6GeneratorService, BlightService blightService) { _d6GeneratorService = d6GeneratorService; _blightService = blightService; }