java.lang.Object
org.zazof.jteg.DiceList
- public class DiceList
- extends java.lang.Object
|
Method Summary |
void |
activateDice(int diceNumber)
Activate the n-th dice in this list, where n starts counting from 1 up |
void |
addDice(Dice d)
|
void |
deActivateDice(int diceNumber)
DeActivate the n-th dice in this list, where n starts counting from 1 up |
java.util.Enumeration |
getDiceElements()
|
void |
setValue(int diceNumber,
int value)
Set the value of the the n-th dice in this list, where n starts counting from 1 up |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dices
private java.util.Vector dices
DiceList
public DiceList()
addDice
public void addDice(Dice d)
activateDice
public void activateDice(int diceNumber)
- Activate the n-th dice in this list, where n starts counting from 1 up
deActivateDice
public void deActivateDice(int diceNumber)
- DeActivate the n-th dice in this list, where n starts counting from 1 up
setValue
public void setValue(int diceNumber,
int value)
- Set the value of the the n-th dice in this list, where n starts counting from 1 up
getDiceElements
public java.util.Enumeration getDiceElements()