Uses of Class
io.github.mathieusoysal.Dices
Packages that use Dices
-
Uses of Dices in io.github.mathieusoysal
Methods in io.github.mathieusoysal with parameters of type DicesModifier and TypeMethodDescriptionstatic intYatzy.calculateScore(YatzyMod mod, Dices dices) Calculate the score for the given categoryYatzyModbased on the given set of diceDices.static intCalculate the score for the "Chance" category based on the given set of dice.static intCalculate the score for the "Fives" category based on the given set of dice.static intYatzy.fourOfAKind(Dices dices) Calculate the score for the "Four of a Kind" category based on the given set of dice.static intCalculate the score for the "Fours" category based on the given set of dice.static intCalculate the score for the "Full House" category based on the given set of dice.static intYatzy.largeStraight(Dices dices) Calculate the score for the "Large Straight" category based on the given set of dice.static intCalculate the score for the "Ones" category based on the given set of dice.static intCalculate the score for the "Pair" category based on the given set of dice.static intCalculate the score for the "Sixes" category based on the given set of dice.static intYatzy.smallStraight(Dices dices) Calculate the score for the "Small Straight" category based on the given set of dice.static intYatzy.threeOfAKind(Dices dices) Calculate the score for the "Three of a Kind" category based on the given set of dice.static intCalculate the score for the "Threes" category based on the given set of dice.static intCalculate the score for the "Two Pairs" category based on the given set of dice.static intCalculate the score for the "Twos" category based on the given set of dice.static intCalculate the score for the "Yatzy" category based on the given set of dice. -
Uses of Dices in io.github.mathieusoysal.yatzy_mod
Methods in io.github.mathieusoysal.yatzy_mod with parameters of type DicesModifier and TypeMethodDescriptionintYatzyMod.calculateScore(Dices dices) Calculate the score for a given set of dice based on the category represented by this enum value.