Example #1
0
 private HeroService()
 {
     SkillService  = Skill.SkillService.GetInstance();
     ItemService   = Item.ItemService.GetInstance();
     ClassService  = Class.ClassService.GetInstance();
     LevelService  = LevelService.GetInstance();
     StatusService = StatusService.GetInstance();
 }
Example #2
0
 public static SkillService GetInstance() => _instance ?? (_instance = new SkillService());