Метод | Описание | |
---|---|---|
AddGivenAnswerPart ( ProblemPart, newGivenAnswerPart ) : void |
Sets the given answer. This can then be checked for correctness through CheckAnswer.
|
|
AnswersGivenSoFar ( ) : int |
Returns the number of answers which have been given so far.
|
|
CheckAnswer ( ) : bool |
Checks the Problem's given answer against its correct answer. DOES NOT report to the senseix server. Consider SubmitAnswer() if this is a final answer.
|
|
CheckAnswer ( Answer, answer ) : bool |
Sets the given answer to the argument, then checks it. DOES NOT submit. Consider SubmitAnswer() if this is a final answer.
|
|
CountDistractors ( ) : int |
Counts the number of distractors available for this problem.
|
|
CountProblemsAnsweredCorrectlySoFar ( ) : uint |
Counts the problems answered correctly so far.
|
|
GetCategoryName ( ) : string |
A category is a group of Thinksy questions which are formatted the same way. Gets the name of the category. This string is mostly meaningless, but can be compared with other strings and looked up on the Thinksy website for information about the category.
|
|
GetCategoryNumber ( ) : uint |
Gets the category number. Higher number means more advanced categories.
|
|
GetCorrectAnswer ( ) : Answer, |
Returns the correct answer to this Problem
|
|
GetCurrentCorrectAnswerPart ( ) : ProblemPart, |
Gets the next correct answer part based on how many answer parts have been given so far.
|
|
GetDistractor ( ) : ProblemPart, |
Gets one distractor. Distractors are wrong answers which can be presented as options to the player.
|
|
GetDistractors ( int howManyDistractors ) : ProblemPart[], |
Gets distractors. These are wrong answers which can be presented as options to the player.
|
|
GetGivenAnswer ( ) : Answer, |
Returns the answer set by SetGivenAnswer
|
|
GetGivenAnswerIDs ( ) : string[] |
Gets the IDs of the given answers. Mostly for internal use. Only use this if you want a bunch of uuids.
|
|
GetLearningAction ( ) : LearningAction, |
Returns the learning action associated with this problems. Learning actions are representations of actions the player can complete successfully or unsuccessfully. There are five types (sub-classes) of learning actions. The type of a learning action can be determined via learningAction.GetActionType()
|
|
GetQuestion ( ) : Question, |
Returns the question to be answered.
|
|
GetQuestionHTML ( ) : string |
Gets an HTML representation of this problem's question.
|
|
GetQuestionImage ( ) : |
Gets the question image. The same as GetQuestion ().GetImage ()
|
|
HasBeenSubmitted ( ) : bool | ||
Problem ( Senseix newProtobufsProblemBuilder ) : System |
Don't use this unless you know what you're doing- instead get a problem from SenseixPlugin.NextProblem().
|
|
SetGivenAnswer ( Answer, newGivenAnswer ) : void |
Sets the given answer. This will then be reflected in CheckAnswer().
|
|
SubmitAnswer ( ) : bool |
Submits the given answer. This will update communicate with the senseix server asynchronously and update your player's progress accordingly.
|
|
SubmitAnswer ( Answer, answer ) : bool |
Sets the given answer, then submits. This will update communicate with the senseix server asynchronously and update your player's progress accordingly.
|
public AddGivenAnswerPart ( ProblemPart, newGivenAnswerPart ) : void | ||
newGivenAnswerPart | ProblemPart, | |
Результат | void |
public CheckAnswer ( Answer, answer ) : bool | ||
answer | Answer, | |
Результат | bool |
public static CountProblemsAnsweredCorrectlySoFar ( ) : uint | ||
Результат | uint |
public GetCurrentCorrectAnswerPart ( ) : ProblemPart, | ||
Результат | ProblemPart, |
public GetDistractors ( int howManyDistractors ) : ProblemPart[], | ||
howManyDistractors | int | How many random distractors to return. |
Результат | ProblemPart[], |
public GetLearningAction ( ) : LearningAction, | ||
Результат | LearningAction, |
public GetQuestionImage ( ) : |
||
Результат |
public Problem ( Senseix newProtobufsProblemBuilder ) : System | ||
newProtobufsProblemBuilder | Senseix | |
Результат | System |
public SetGivenAnswer ( Answer, newGivenAnswer ) : void | ||
newGivenAnswer | Answer, | New given answer. |
Результат | void |
public SubmitAnswer ( Answer, answer ) : bool | ||
answer | Answer, | |
Результат | bool |