Package VASSAL.build.module
Class DieRoll
java.lang.Object
VASSAL.build.module.DieRoll
- Author:
- Brent Easton Describes a single roll of one or more identical dice. For use with internet dice rollers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getPlus()
int
getResult
(int pos) boolean
void
setDescription
(String description) void
setNumDice
(int numDice) void
setNumSides
(int numSides) void
setPlus
(int plus) void
setReportTotal
(boolean reportTotal) void
setResult
(int pos, int res)
-
Constructor Details
-
DieRoll
-
DieRoll
-
DieRoll
-
-
Method Details
-
getResult
public int getResult(int pos) -
setResult
public void setResult(int pos, int res) -
getDescription
-
setDescription
-
getNumDice
public int getNumDice() -
setNumDice
public void setNumDice(int numDice) -
getNumSides
public int getNumSides() -
setNumSides
public void setNumSides(int numSides) -
getPlus
public int getPlus() -
setPlus
public void setPlus(int plus) -
isReportTotal
public boolean isReportTotal() -
setReportTotal
public void setReportTotal(boolean reportTotal)
-