示例#1
0
 public Livello(int id)
 {
     singleton = QuestionLoader.Instance;
     domande   = singleton.getQuestions(id);
     this.id   = id;
     if (appSettings.Contains("bestscore" + id))
     {
         string content = appSettings["bestscore" + id].ToString();
         best_score = content;
     }
     else
     {
         best_score = "-";
     }
 }
示例#2
0
 public Livello(int id)
 {
     ql      = new QuestionLoader();
     domande = ql.getQuestions(id);
     this.id = id;
     if (appSettings.Contains("bestscore" + id))
     {
         string content = appSettings["bestscore" + id].ToString();
         best_score = content;
     }
     else
     {
         best_score = "-";
     }
 }