Searched refs:RandomTable (Results 1 – 2 of 2) sorted by relevance
40 private val planetTable = RandomTable(0.75f to planetDescriptors, 0.25f to anyDescriptors)42 private var lifeTable = RandomTable(0.75f to lifeDescriptors, 0.25f to anyDescriptors)45 RandomTable(RARE_PROB to constellationsRare, 1f - RARE_PROB to constellations)47 private var suffixesTable = RandomTable(RARE_PROB to suffixesRare, 1f - RARE_PROB to suffixes)49 private var atmoTable = RandomTable(0.75f to atmoDescriptors, 0.25f to anyDescriptors)52 RandomTable(
43 class RandomTable<T>(private vararg val pairs: Pair<Float, T>) { class