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