Package net.starype.quiz.api.game
Class TimedRaceRound.Builder
- java.lang.Object
-
- net.starype.quiz.api.game.TimedRaceRound.Builder
-
- Enclosing class:
- TimedRaceRound
public static class TimedRaceRound.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description TimedRaceRound
build()
TimedRaceRound.Builder
withPickedQuestion(Question pickedQuestion)
TimedRaceRound.Builder
withPointsToAward(double pointsToAward)
TimedRaceRound.Builder
withTime(long time)
TimedRaceRound.Builder
withTimeUnit(java.util.concurrent.TimeUnit unit)
TimedRaceRound.Builder
withtMaxGuessesPerPlayer(int maxGuessesPerPlayer)
-
-
-
Method Detail
-
withtMaxGuessesPerPlayer
public TimedRaceRound.Builder withtMaxGuessesPerPlayer(int maxGuessesPerPlayer)
-
withPickedQuestion
public TimedRaceRound.Builder withPickedQuestion(Question pickedQuestion)
-
withPointsToAward
public TimedRaceRound.Builder withPointsToAward(double pointsToAward)
-
withTimeUnit
public TimedRaceRound.Builder withTimeUnit(java.util.concurrent.TimeUnit unit)
-
withTime
public TimedRaceRound.Builder withTime(long time)
-
build
public TimedRaceRound build()
-
-