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

/**
 * 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();
}