forked from projectmoon/tenebrous-dicebot
Updating roll doc
This commit is contained in:
parent
f904e3a948
commit
1992ef4e08
|
@ -19,7 +19,9 @@ pub trait Rolled {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||||
// array of rolls in order, how many dice to keep, and how many to drop
|
/// array of rolls in order, how many dice to keep, and how many to drop
|
||||||
|
/// keep indicates how many of the highest dice to keep
|
||||||
|
/// drop indicates how many of the highest dice to drop
|
||||||
pub struct DiceRoll (pub Vec<u32>, usize, usize);
|
pub struct DiceRoll (pub Vec<u32>, usize, usize);
|
||||||
|
|
||||||
impl DiceRoll {
|
impl DiceRoll {
|
||||||
|
|
Loading…
Reference in New Issue