summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/dice/PolyhedralDice.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2016-03-28 08:47:45 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2016-03-28 08:47:45 -0400
commit260cc55c485980cd31193300962a88f1de8d62f7 (patch)
treec08c646056d04352e18bb80e07b9a35765c8946f /BJC-Utils2/src/main/java/bjc/utils/dice/PolyhedralDice.java
parent4d904a55a1b5fe6506f81c2c292c07dfe839029f (diff)
Moved dice things to seperate project
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/dice/PolyhedralDice.java')
-rw-r--r--BJC-Utils2/src/main/java/bjc/utils/dice/PolyhedralDice.java86
1 files changed, 0 insertions, 86 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/dice/PolyhedralDice.java b/BJC-Utils2/src/main/java/bjc/utils/dice/PolyhedralDice.java
deleted file mode 100644
index 314d47b..0000000
--- a/BJC-Utils2/src/main/java/bjc/utils/dice/PolyhedralDice.java
+++ /dev/null
@@ -1,86 +0,0 @@
-package bjc.utils.dice;
-
-/**
- * Utility class that produces common polyhedral dice
- *
- * @author ben
- *
- */
-public class PolyhedralDice {
- /**
- * 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 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 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 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 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 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 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);
- }
-}