bag

package
v0.0.0-...-984e2b4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bag

type Bag struct {
	// contains filtered or unexported fields
}

Bag holds tiles to randomly pick from.

func NewBag

func NewBag(tileCounts []tileCount, tileRequested chan bool, tilePicked chan tile.Tile) *Bag

NewBag creates a bag containing a specified set of tiles.

func NewUKBag

func NewUKBag(tileRequested chan bool, tilePicked chan tile.Tile) *Bag

NewUKBag create a bag containing the UK distribution of tiles.

Jump to

Keyboard shortcuts

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