blob: f0861e37acb1c1d125e2d05e3f5fe1d90a40e07e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/*
* Copyright 2013 Jesse Morgan
*/
package com.p4square.grow.model;
/**
* Slider Question.
*
* @author Jesse Morgan <jesse@jesterpm.net>
*/
public class SliderQuestion extends Question {
private static final ScoringEngine ENGINE = new SliderScoringEngine();
@Override
public boolean scoreAnswer(Score score, RecordedAnswer answer) {
return ENGINE.scoreAnswer(score, this, answer);
}
@Override
public QuestionType getType() {
return QuestionType.SLIDER;
}
}
|