예제 #1
0
파일: Kata.cs 프로젝트: balusk13/MKKA
        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));
            }
        }
예제 #2
0
파일: MKKAEngine.cs 프로젝트: balusk13/MKKA
 public static string GetDatabasePath()
 {
     return(DBAccessor.GetDatabasePath());
 }
예제 #3
0
파일: MKKAEngine.cs 프로젝트: balusk13/MKKA
 private MKKAEngine()
 {
     db  = new DBAccessor();
     gen = new QuestionGenerator();
     LoadDB();
 }