}
public VsPlayerModel build() throws ValueIsOutOfRangeException {
if (_result == GameResult.WIN || _result == GameResult.LOSE) {
if (_result.getPlayTime() <= 0 || _result.getPlayTime() > 25) {
throw new ValueIsOutOfRangeException(0, 25);
}
}
return new VsPlayerModel(this);
}