public void SetStatus(HeroGenStage stage) { if (stage > MaxStage) { MaxStage = stage; } }
public static string GetPage(HeroGenStage stage) { return(stage switch { HeroGenStage.Race => SitePages.MajorHeroGenRace, HeroGenStage.Branch => SitePages.MajorHeroGenBranch, HeroGenStage.Traits => SitePages.MajorHeroGenTraits, HeroGenStage.Abilities => SitePages.MajorHeroGenAbilities, HeroGenStage.Result => SitePages.MajorHeroGenResult, _ => null });
public HeroGenPage(ICoreLogic coreLogic, HeroGenStage stage, IMajorService majorService) : base(majorService) { CoreLogic = coreLogic; CurrentStage = stage; }