/*
	"this is a question?",
	2,
*/
function Question(text, num_answers, answers)
{
	this.text = text;
	this.num_answers = num_answers;
	this.answers = answers;
	this.user_answer = -1;

	this.get_num_answers = function get_num_answers()
	{
		return this.num_answers;
	};

	this.get_answer = function get_answer(index)
	{
		return this.answers[index];
	};

	this.get_question_text = function get_question_text(index)
	{
		return this.text;
	};

	this.set_user_answer = function set_user_answer(index)
	{
		this.user_answer = index;
	};

	this.get_user_answer = function get_user_answer(index)
	{
		return this.user_answer;
	};
}

