|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Dice | |
---|---|
de.palmmedia.yahtzee.game | |
de.palmmedia.yahtzee.game.elements | |
de.palmmedia.yahtzee.ui |
Uses of Dice in de.palmmedia.yahtzee.game |
---|
Fields in de.palmmedia.yahtzee.game declared as Dice | |
---|---|
Dice[] |
GameContext.dices
The dices. |
Uses of Dice in de.palmmedia.yahtzee.game.elements |
---|
Methods in de.palmmedia.yahtzee.game.elements with parameters of type Dice | |
---|---|
boolean |
Straight.areDicesAllowed(Dice[] dices)
Determines whether the dices can be applied to the element. |
boolean |
OneKind.areDicesAllowed(Dice[] dices)
Determines whether the dices can be applied to the element. |
boolean |
Number.areDicesAllowed(Dice[] dices)
Determines whether the dices can be applied to the element. |
boolean |
FullHouse.areDicesAllowed(Dice[] dices)
Determines whether the dices can be applied to the element. |
protected abstract boolean |
Element.areDicesAllowed(Dice[] dices)
Determines whether the dices can be applied to the element. |
boolean |
Chance.areDicesAllowed(Dice[] dices)
Determines whether the dices can be applied to the element. |
int |
Element.calculate(Dice[] dices)
Calculates the result of the given dices respecting the allowed state. |
protected int |
Yahtzee.calculateResult(Dice[] dices)
Calculates the result of the given dices. |
protected int |
SmallStraight.calculateResult(Dice[] dices)
Calculates the result of the given dices. |
protected int |
OneKind.calculateResult(Dice[] dices)
Calculates the result of the given dices. |
protected int |
Number.calculateResult(Dice[] dices)
Calculates the result of the given dices. |
protected int |
LargeStraight.calculateResult(Dice[] dices)
Calculates the result of the given dices. |
protected int |
FullHouse.calculateResult(Dice[] dices)
Calculates the result of the given dices. |
protected abstract int |
Element.calculateResult(Dice[] dices)
Calculates the result of the given dices. |
protected int |
Chance.calculateResult(Dice[] dices)
Calculates the result of the given dices. |
boolean |
Number.doDicesFit(Dice[] dices)
Determines whether the dices fit. |
boolean |
Element.doDicesFit(Dice[] dices)
Determines whether the dices fit. |
void |
Element.setDices(Dice[] dices)
Apply the given dices. |
Uses of Dice in de.palmmedia.yahtzee.ui |
---|
Fields in de.palmmedia.yahtzee.ui declared as Dice | |
---|---|
private Dice |
DiceImageButton.dice
The Dice . |
Methods in de.palmmedia.yahtzee.ui with parameters of type Dice | |
---|---|
void |
ElementButton.update(Dice[] dices)
Updates the view depending on the current dices. |
Constructors in de.palmmedia.yahtzee.ui with parameters of type Dice | |
---|---|
DiceImageButton(Context context,
Dice dice)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |