Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StandardDice ¶
type StandardDice struct {
// contains filtered or unexported fields
}
func NewCustomDice ¶
func NewCustomDice(sidesValue ...dices.Side) (*StandardDice, error)
func NewDice ¶
func NewDice(sidesNumber int) (*StandardDice, error)
func NewRangeDice ¶
func NewRangeDice(sidesRange dices.Range) (*StandardDice, error)
func (*StandardDice) Throw ¶
func (d *StandardDice) Throw() dices.Side
type StandardSide ¶
type StandardSide struct {
// contains filtered or unexported fields
}
func NewStandardSide ¶
func NewStandardSide(value any) StandardSide
func (StandardSide) Value ¶
func (s StandardSide) Value() any
Click to show internal directories.
Click to hide internal directories.