grid

package
v0.0.0-...-604e922 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2013 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Grid

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

func New

func New(cols, rows int) *Grid

func (*Grid) Cols

func (this *Grid) Cols() int

func (*Grid) Do

func (this *Grid) Do(f func(p Point, value interface{}))

func (*Grid) Get

func (this *Grid) Get(p Point) interface{}

func (*Grid) Len

func (this *Grid) Len() int

func (*Grid) Rows

func (this *Grid) Rows() int

func (*Grid) Set

func (this *Grid) Set(p Point, v interface{})

Jump to

Keyboard shortcuts

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