Implemented the functionality for monster rooms.
This commit is contained in:
parent
6a309804ad
commit
aa49815fb9
16 changed files with 1182 additions and 71 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue