Пример #1
0
 public LevelInfo(string levelID, string displayName, int index)
 {
     ID          = levelID;
     DisplayName = displayName;
     Index       = index;
     Status      = LevelInfoStatus.Locked;
 }
Пример #2
0
 public void SetStatus(LevelInfoStatus status, bool force = false)
 {
     if (!force && Status > status)
     {
         return;                                            // Already at a greater status
     }
     Status = status;
 }