com.asdf.utils
Class Distribution

java.lang.Object
  extended by com.asdf.utils.Distribution

public class Distribution
extends java.lang.Object

Stores a set of chips, their values and offsets.


Field Summary
 java.util.Vector<ChipOffSet> chips
           
 
Constructor Summary
Distribution()
           
 
Method Summary
 void add(int offx, int offy, int val)
          Adds a chip to the set.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chips

public java.util.Vector<ChipOffSet> chips
Constructor Detail

Distribution

public Distribution()
Method Detail

add

public void add(int offx,
                int offy,
                int val)
Adds a chip to the set.

Parameters:
offx - Offset on x-axis.
offy - Offset on y-axis.
val - Value of the chip.