/** * ASS_AnswerImagemap constructor * * The constructor takes possible arguments an creates an instance of the ASS_AnswerImagemap object. * * @param string $answertext A string defining the answer text * @param double $points The number of points given for the selected answer * @param boolean $correctness A boolean value indicating the correctness of the answer * @param integer $order A nonnegative value representing a possible display or sort order * @access public */ function ASS_AnswerImagemap($answertext = "", $points = 0.0, $order = 0, $coords = "", $area = "", $id = -1, $points_unchecked = 0) { parent::__construct($answertext, $points, 1, $id); $this->coords = $coords; $this->area = $area; $this->points_unchecked = $points_unchecked; }