Implemented the functionality for monster rooms.

This commit is contained in:
Maxwell Dodd 2025-01-29 10:01:48 +01:00
parent 6a309804ad
commit aa49815fb9
16 changed files with 1182 additions and 71 deletions

View file

@ -39,11 +39,11 @@ public class DiceRoller: MonoBehaviour
_rolledBlackDice.Clear();
for (int i = 0; i < NUMBER_OF_WHITE_DICE; i++)
{
_rolledWhiteDice.Add(_randomGen.Next(1,6));
_rolledWhiteDice.Add(_randomGen.Next(1,7));
}
for (int i = 0; i < NUMBER_OF_BLACK_DICE; i++)
{
_rolledBlackDice.Add(_randomGen.Next(1,6));
_rolledBlackDice.Add(_randomGen.Next(1,7));
}
diceRolled?.Invoke(this, EventArgs.Empty);
UpdateGUI();