| Modifier and Type | Method and Description |
|---|---|
Fairy |
build()
Returns the completed Fairy.
|
Bootstrap.Builder |
withDataMasterProvider(com.google.inject.Provider<DataMaster> dataMasterProvider)
Sets a custom DataMaster implementation.
|
Bootstrap.Builder |
withFilePrefix(String filePrefix)
Sets the data file prefix for the resulting Fairy.
|
Bootstrap.Builder |
withLocale(Locale locale)
Sets the locale for the resulting Fairy.
|
Bootstrap.Builder |
withRandomSeed(int randomSeed)
Sets the random seed to use to pick things randomly.
|
public Bootstrap.Builder withLocale(Locale locale)
locale - The Locale to set.public Bootstrap.Builder withFilePrefix(String filePrefix)
filePrefix - The prefix of the file (such as "jfairy" for "jfairy_en.yml").public Bootstrap.Builder withRandomSeed(int randomSeed)
randomSeed - The random seed to use.public Bootstrap.Builder withDataMasterProvider(com.google.inject.Provider<DataMaster> dataMasterProvider)
dataMasterProvider - The random seed to use.public Fairy build()
Copyright © 2022. All rights reserved.