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

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