DiceRoll
namespace Griff.Scenes;
public struct DiceRollDice written as text (a component’s “2d6+3”), read once when the text changes: rolled each hit with Rand, or the plain number when it’s empty (or doesn’t read as dice).
Properties
Section titled “Properties”public string? Text { get; set; }Methods
Section titled “Methods”public float Roll(float otherwise)A roll of the dice, or otherwise when there are none.