예제 #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 = "-";
     }
 }