cell

package
v0.0.0-...-c3c5c6d Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NumRows    int
	NumColumns int
)

Functions

func Bound

func Bound(current int, max int) int

func DrawAt

func DrawAt(x, y int)

func Init

func Init(r, c int)

func MakeCells

func MakeCells(numColumns, numRows int) [][]*Cell

Types

type Cell

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

func (*Cell) Draw

func (c *Cell) Draw()

Jump to

Keyboard shortcuts

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