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