feat: added rerolling and dice clearing

This commit is contained in:
Sara Gerretsen 2025-10-28 12:31:24 +01:00
parent 7adf2d9528
commit aa10c821f1
4 changed files with 46 additions and 17 deletions

View file

@ -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;