summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/dice/IDiceExpression.java
blob: 4bd0973a7a4b3065d219c1c11caa7d98d7c6a860 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package bjc.utils.dice;

/**
 * An expression for something that can be rolled like a polyhedral die
 * 
 * @author ben
 *
 */
public interface IDiceExpression {
	/**
	 * Roll the dice once
	 * @return The result of rowing the dice
	 */
	public int roll();
}