roll

package
v0.0.0-...-33f45f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dice

type Dice struct {
	Sides int
	Num   int
	Rolls []int
}

func NewDice

func NewDice(sides int, num int) *Dice

func (*Dice) Total

func (d *Dice) Total() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL