diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-02-21 15:40:30 -0500 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-02-21 15:40:30 -0500 |
| commit | 77a797089a2e065cc8cf2a83ae8356b16591aebe (patch) | |
| tree | e88f80b126cbb6de08881beb0a8c97111966a2b7 /BJC-Utils2/src/main/java/bjc/utils/dice/ScalarDie.java | |
| parent | d8b3b3c5e4441cecec98c06a36fc81570008c888 (diff) | |
Revamping of the way dice work
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/dice/ScalarDie.java')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/dice/ScalarDie.java | 14 |
1 files changed, 13 insertions, 1 deletions
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; } |
