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>(); }
//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; }
public ContentCard(String header, CompositeDatatype content) { this.header = header; this.content = content; }