diff options
| author | Ben Culkin <scorpress@gmail.com> | 2020-11-21 18:10:30 -0500 |
|---|---|---|
| committer | Ben Culkin <scorpress@gmail.com> | 2020-11-21 18:10:30 -0500 |
| commit | b5c2fb1ed923d43412694729b4445a66fa9f47fc (patch) | |
| tree | 2b9dc847976f3a5f7d7a2d48cff0a50e962efeb0 /dice/src/example/java/bjc/dicelang/neodice | |
| parent | 785a1ed2437d9810b39deb376c163e0e3e73160f (diff) | |
Restructure new die implementation
Diffstat (limited to 'dice/src/example/java/bjc/dicelang/neodice')
| -rw-r--r-- | dice/src/example/java/bjc/dicelang/neodice/commands/PolyhedralDieCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dice/src/example/java/bjc/dicelang/neodice/commands/PolyhedralDieCommand.java b/dice/src/example/java/bjc/dicelang/neodice/commands/PolyhedralDieCommand.java index 02fc9cf..95e9dff 100644 --- a/dice/src/example/java/bjc/dicelang/neodice/commands/PolyhedralDieCommand.java +++ b/dice/src/example/java/bjc/dicelang/neodice/commands/PolyhedralDieCommand.java @@ -20,7 +20,7 @@ public class PolyhedralDieCommand implements Command { if (numSides < 0) throw new DieBoxException("Number of sides to polyhedral-die was not valid (must be less than 0, was %d)", numSides); - return new DieStatementValue(DieFactory.polyhedral(numSides)); + return new DieStatementValue(Die.polyhedral(numSides)); } else { throw new DieBoxException("Number of sides to polyhedral-die wasn't an integer (was %s, of type %s)", sideValue, sideValue.type); |
