feat: added rerolling and dice clearing
This commit is contained in:
parent
7adf2d9528
commit
aa10c821f1
4 changed files with 46 additions and 17 deletions
|
|
@ -31,6 +31,10 @@ void Remove(size_t at) {
|
|||
--numActiveDice;
|
||||
}
|
||||
|
||||
void Clear() {
|
||||
numActiveDice = 0;
|
||||
}
|
||||
|
||||
Die Get(size_t at) {
|
||||
if(at < numActiveDice) {
|
||||
return activeDice[at].type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue