summaryrefslogtreecommitdiff
path: root/dice-lang/src/bjc/dicelang/PolyhedralDice.java
diff options
context:
space:
mode:
authorbjculkin <bjculkin@WIT-136XG42.wvu-ad.wvu.edu>2017-02-27 10:08:50 -0500
committerbjculkin <bjculkin@WIT-136XG42.wvu-ad.wvu.edu>2017-02-27 10:08:50 -0500
commit79ee129fc0d36ad10bceb942262f2842419c030c (patch)
treed1298fdb8b81726f4b9012d7a29c3029a55a3aa7 /dice-lang/src/bjc/dicelang/PolyhedralDice.java
parentc50a0744269ce22604c0604cc69e6d5e5ce8a3fc (diff)
Pacakge reorganization
Diffstat (limited to 'dice-lang/src/bjc/dicelang/PolyhedralDice.java')
-rw-r--r--dice-lang/src/bjc/dicelang/PolyhedralDice.java149
1 files changed, 0 insertions, 149 deletions
diff --git a/dice-lang/src/bjc/dicelang/PolyhedralDice.java b/dice-lang/src/bjc/dicelang/PolyhedralDice.java
deleted file mode 100644
index 3ac9420..0000000
--- a/dice-lang/src/bjc/dicelang/PolyhedralDice.java
+++ /dev/null
@@ -1,149 +0,0 @@
-package bjc.dicelang;
-
-/**
- * Utility class that produces common polyhedral dice
- *
- * @author ben
- *
- */
-public class PolyhedralDice {
- /**
- * Produce a single d10
- *
- * @return A single d10
- */
- public static IDiceExpression d10() {
- return d10(1);
- }
-
- /**
- * Produce the specified number of 10-sided dice
- *
- * @param nDice
- * The number of ten-sided dice to produce
- * @return A group of ten-sided dice of the specified size
- */
- public static IDiceExpression d10(int nDice) {
- return new ComplexDice(nDice, 10);
- }
-
- /**
- * Produce a single d100
- *
- * @return A single d100
- */
- public static IDiceExpression d100() {
- return d100(1);
- }
-
- /**
- * Produce the specified number of 100-sided dice
- *
- * @param nDice
- * The number of hundred-sided dice to produce
- * @return A group of hundred-sided dice of the specified size
- */
- public static IDiceExpression d100(int nDice) {
- return new ComplexDice(nDice, 100);
- }
-
- /**
- * Produce a single d12
- *
- * @return A single d12
- */
- public static IDiceExpression d12() {
- return d12(1);
- }
-
- /**
- * Produce the specified number of 12-sided dice
- *
- * @param nDice
- * The number of twelve-sided dice to produce
- * @return A group of twelve-sided dice of the specified size
- */
- public static IDiceExpression d12(int nDice) {
- return new ComplexDice(nDice, 12);
- }
-
- /**
- * Produce a single d20
- *
- * @return A single d20
- */
- public static IDiceExpression d20() {
- return d20(1);
- }
-
- /**
- * Produce the specified number of 20-sided dice
- *
- * @param nDice
- * The number of twenty-sided dice to produce
- * @return A group of twenty-sided dice of the specified size
- */
- public static IDiceExpression d20(int nDice) {
- return new ComplexDice(nDice, 20);
- }
-
- /**
- * Produce a single d4
- *
- * @return A single d4
- */
- public static IDiceExpression d4() {
- return d4(1);
- }
-
- /**
- * Produce the specified number of 4-sided dice
- *
- * @param nDice
- * The number of four-sided dice to produce
- * @return A group of four-sided dice of the specified size
- */
- public static IDiceExpression d4(int nDice) {
- return new ComplexDice(nDice, 4);
- }
-
- /**
- * Produce a single d6
- *
- * @return A single d6
- */
- public static IDiceExpression d6() {
- return d6(1);
- }
-
- /**
- * Produce the specified number of 6-sided dice
- *
- * @param nDice
- * The number of six-sided dice to produce
- * @return A group of six-sided dice of the specified size
- */
- public static IDiceExpression d6(int nDice) {
- return new ComplexDice(nDice, 6);
- }
-
- /**
- * Produce a single d8
- *
- * @return A single d8
- */
- public static IDiceExpression d8() {
- return d8(1);
- }
-
- /**
- * Produce the specified number of 8-sided dice
- *
- * @param nDice
- * The number of eight-sided dice to produce
- * @return A group of eight-sided dice of the specified size
- */
- public static IDiceExpression d8(int nDice) {
- return new ComplexDice(nDice, 8);
- }
-}