From 77a797089a2e065cc8cf2a83ae8356b16591aebe Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Sun, 21 Feb 2016 15:40:30 -0500 Subject: Revamping of the way dice work --- BJC-Utils2/src/main/java/bjc/utils/dice/ScalarDie.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/dice/ScalarDie.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/dice/ScalarDie.java b/BJC-Utils2/src/main/java/bjc/utils/dice/ScalarDie.java index 7694afd..dde09b4 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/dice/ScalarDie.java +++ b/BJC-Utils2/src/main/java/bjc/utils/dice/ScalarDie.java @@ -1,6 +1,14 @@ package bjc.utils.dice; -public class ScalarDie implements DiceExpression { +/** + * A die that represents a static number + * @author ben + * + */ +public class ScalarDie implements IDiceExpression { + /** + * The represented number + */ private int num; @Override @@ -8,6 +16,10 @@ public class ScalarDie implements DiceExpression { return num; } + /** + * Create a dice with the specified number + * @param num The number used for the dice + */ public ScalarDie(int num) { this.num = num; } -- cgit v1.2.3