Beispiel #1
0
 public QACard(String questHead, String ansHead, CompositeDatatype question, CompositeDatatype answer)
 {
     this.ICreated        = true;
     this.QuestionHeader  = questHead;
     this.AnswerHeader    = ansHead;
     this.QuestionContent = question;
     this.AnswerContent   = answer;
     this.tags            = new List <Tag>();
 }
Beispiel #2
0
        //TODO: Rework that shit
        public void CreateCards(Theme theme, String qhead, String ahead, String qcontent, String acontent)
        {
            CompositeDatatype test, tmpo;

            test = new CompositeDatatype();
            test.AddComponent(new Text(qcontent));
            tmpo = new CompositeDatatype();
            tmpo.AddComponent(new Text(acontent));

            currentThemeTarget.AddCard(new QACard(qhead, ahead, test, tmpo));
            Stored = false;
        }
Beispiel #3
0
 public ContentCard(String header, CompositeDatatype content)
 {
     this.header  = header;
     this.content = content;
 }