blob: d94c32c1c019a8fbfdf4c12eddccaddb87ae956c (
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;
/**
* Image Question.
*
* @author Jesse Morgan <jesse@jesterpm.net>
*/
public class ImageQuestion extends Question {
private static final ScoringEngine ENGINE = new SimpleScoringEngine();
@Override
public boolean scoreAnswer(Score score, RecordedAnswer answer) {
return ENGINE.scoreAnswer(score, this, answer);
}
@Override
public QuestionType getType() {
return QuestionType.IMAGE;
}
}
|