Beispiel #1
0
        public Kata(string id)
        {
            Name  = id;
            moves = new List <KataMove>();
            DBAccessor db   = new DBAccessor();
            int        size = db.GetKataSize(id);

            for (int i = 1; i <= size; ++i)
            {
                moves.Add(db.GetKataMove(Name, i));
            }
        }
Beispiel #2
0
 public static string GetDatabasePath()
 {
     return(DBAccessor.GetDatabasePath());
 }
Beispiel #3
0
 private MKKAEngine()
 {
     db  = new DBAccessor();
     gen = new QuestionGenerator();
     LoadDB();
 }