using System;
namespace SK.Framework
{
///
/// 判断题
///
[Serializable]
public class JudgeQuestion : QuestionBase
{
///
/// 积极选项
///
public string Positive = "正确";
///
/// 消极选项
///
public string Negative = "错误";
///
/// 答案
///
public bool Answer;
public override bool IsCorrect(params object[] answers)
{
bool answer = (bool)answers[0];
return answer == Answer;
}
}
}