Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.zazof.jteg
Class DiceList  view DiceList download DiceList.java

java.lang.Object
  extended byorg.zazof.jteg.DiceList

public class DiceList
extends java.lang.Object


Field Summary
private  java.util.Vector dices
           
 
Constructor Summary
DiceList()
           
 
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
 

Field Detail

dices

private java.util.Vector dices
Constructor Detail

DiceList

public DiceList()
Method Detail

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()