Package net.starype.quiz.api.game
Class RaceRound.Builder
- java.lang.Object
-
- net.starype.quiz.api.game.RaceRound.Builder
-
- Enclosing class:
- RaceRound
public static class RaceRound.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description RaceRound
build()
RaceRound.Builder
withMaxGuessesPerPlayer(int maxGuessesPerPlayer)
RaceRound.Builder
withPointsToAward(double pointsToAward)
RaceRound.Builder
withQuestion(Question pickedQuestion)
-
-
-
Method Detail
-
withMaxGuessesPerPlayer
public RaceRound.Builder withMaxGuessesPerPlayer(int maxGuessesPerPlayer)
-
withQuestion
public RaceRound.Builder withQuestion(Question pickedQuestion)
-
withPointsToAward
public RaceRound.Builder withPointsToAward(double pointsToAward)
-
build
public RaceRound build()
-
-