cell_map

package
v0.0.0-...-5da52ce Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 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 Bounds

type Bounds struct {
	Top    int
	Right  int
	Bottom int
	Left   int
}

type Map

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

func DecodeJson

func DecodeJson(jb [][2]int, padding int) Map

func FromCells

func FromCells(c []cell.Cell) Map

func (Map) EncodeJson

func (m Map) EncodeJson(padding int) [][2]int

func (Map) GetBounds

func (m Map) GetBounds() Bounds

func (Map) GetCells

func (m Map) GetCells() []*cell.Cell

func (*Map) Next

func (m *Map) Next()

func (Map) Rasterize

func (m Map) Rasterize(padding int) [][]bool

Jump to

Keyboard shortcuts

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