Skip to content
Snippets Groups Projects
Commit feef1cba authored by Andreas Gärtner's avatar Andreas Gärtner
Browse files

Add 'flashcards' as separate session feature

parent e44758f1
Branches
Tags
No related merge requests found
...@@ -44,6 +44,7 @@ public class SessionFeature implements Serializable { ...@@ -44,6 +44,7 @@ public class SessionFeature implements Serializable {
private boolean interposed = true; private boolean interposed = true;
private boolean pi = true; private boolean pi = true;
private boolean learningProgress = true; private boolean learningProgress = true;
private boolean flashcardFeature = true;
private boolean slides = false; private boolean slides = false;
public SessionFeature(SessionFeature features) { public SessionFeature(SessionFeature features) {
...@@ -56,6 +57,7 @@ public class SessionFeature implements Serializable { ...@@ -56,6 +57,7 @@ public class SessionFeature implements Serializable {
this.liveFeedback = features.liveFeedback; this.liveFeedback = features.liveFeedback;
this.interposedFeedback = features.interposedFeedback; this.interposedFeedback = features.interposedFeedback;
this.liveClicker = features.liveClicker; this.liveClicker = features.liveClicker;
this.flashcardFeature = features.flashcardFeature;
this.flashcard = features.flashcard; this.flashcard = features.flashcard;
this.total = features.total; this.total = features.total;
this.lecture = features.lecture; this.lecture = features.lecture;
...@@ -147,6 +149,14 @@ public class SessionFeature implements Serializable { ...@@ -147,6 +149,14 @@ public class SessionFeature implements Serializable {
this.peerGrading = peerGrading; this.peerGrading = peerGrading;
} }
public boolean isFlashcardFeature() {
return flashcardFeature;
}
public void setFlashcardFeature(boolean flashcardFeature) {
this.flashcardFeature = flashcardFeature;
}
public boolean isFlashcard() { public boolean isFlashcard() {
return flashcard; return flashcard;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment