Esempio n. 1
0
 public void SetStatus(HeroGenStage stage)
 {
     if (stage > MaxStage)
     {
         MaxStage = stage;
     }
 }
Esempio n. 2
0
 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
     });
Esempio n. 3
0
 public HeroGenPage(ICoreLogic coreLogic, HeroGenStage stage, IMajorService majorService) : base(majorService)
 {
     CoreLogic    = coreLogic;
     CurrentStage = stage;
 }