Example #1
0
 private LevelService()
 {
     LevelResource = LevelResource.GetInstance();
     StatusService = StatusService.GetInstance();
     ClassService  = ClassService.GetInstance();
     Dictionary    = new Dictionary <int, int>()
     {
         {
             2, 10
         },
         {
             3, 35
         },
         {
             4, 80
         },
         {
             5, 150
         },
         {
             6, 250
         },
         {
             7, 385
         },
         {
             8, 560
         },
         {
             9, 780
         },
         {
             10, 1050
         }
     };
 }
Example #2
0
 public static LevelResource GetInstance() => _instance ?? (_instance = new LevelResource());