Klasse RollTableGenerator
java.lang.Object
de.rpgframework.random.RollTableGenerator
- Bekannte direkte Unterklassen:
StoryTagGenerator,SWNNPCGenerator
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected static Randomprotected MultiLanguageResourceBundleprotected static org.prelle.simplepersist.Persister -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidloadTables(InputStream stream) protected List<GeneratorVariable> parseModifier(String line) protected List<Classification<?>> parseVariables(String line) protected abstract GeneratorVariableresolveModifier(String name) voidstatic introllD100(int amount) static introllD20(int amount) static introllD6(int amount) voidsimpleRoll(RollTable table, VariableHolderNode node, Locale loc)
-
Felddetails
-
serializer
protected static org.prelle.simplepersist.Persister serializer -
random
-
tables
-
res
-
-
Konstruktordetails
-
RollTableGenerator
-
-
Methodendetails
-
loadTables
-
resolveModifier
-
parseVariables
-
parseModifier
-
rollD6
public static int rollD6(int amount) -
rollD20
public static int rollD20(int amount) -
rollD100
public static int rollD100(int amount) -
roll
-
simpleRoll
-