Changes from email - glow, timers, floor texture

This commit is contained in:
Mediha Zukic
2017-05-23 19:39:06 +03:00
parent dd09c6f72f
commit 40cedaf5bf
58 changed files with 4679 additions and 1465 deletions

View File

@@ -45,10 +45,6 @@
PROZOR_BEZ_ROLETNE
};
public class Answer
{
public Answer(AnswerObjectModel model, string caption)
@@ -87,9 +83,6 @@ public class Question
possibleAnswers = possibleAns;
}
// All questions have the same number of possible answers
// private static int numberOfAnswers = 4;
private int[] correctAnswers;
private string questionText;
@@ -111,9 +104,13 @@ public class Question
return possibleAnswers;
}
/*
public static int getNumberOfAnswers()
public int getProfessorAtomIdx()
{
return numberOfAnswers;
}*/
for(int i = 0; i < possibleAnswers.Length; ++i)
{
if (possibleAnswers[i].getAnswerModel() == AnswerObjectModel.PROFESOR_ATOM_10)
return i + 1;
}
return -1;
}
}