com.motlin.risk.dice
Class DefaultRoll

java.lang.Object
  extended by com.motlin.risk.dice.AbstractRoll
      extended by com.motlin.risk.dice.DefaultRoll
All Implemented Interfaces:
Roll

public final class DefaultRoll
extends AbstractRoll


Constructor Summary
DefaultRoll(Die... dice)
           
 
Method Summary
 int get(int index)
           
 
Methods inherited from class com.motlin.risk.dice.AbstractRoll
battle, getNumberOfDice, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultRoll

public DefaultRoll(Die... dice)
Method Detail

get

public int get(int index)
Specified by:
get in interface Roll
Specified by:
get in class AbstractRoll