コード例 #1
0
 /// <summary>
 /// Convience getter, which returns the level group in which the given level is.
 /// </summary>
 /// <remarks>@since version 1.4.0</remarks>
 public string GroupOfLevel(string levelId)
 {
     if (!configurationAdapter.LevelExists(levelId))
     {
         throw new ArgumentException("Level " + levelId + " does not exist.");
     }
     return(configurationAdapter.GetGroupOfLevel(levelId));
 }