grid

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CellSize     = 30
	BorderOffset = 20
)

Variables

This section is empty.

Functions

func DrawGrid

func DrawGrid(dst *ebiten.Image, m *matrix.Matrix)

func DrawGridCell

func DrawGridCell(dst *ebiten.Image, x, y int, cl color.Color)

func GetGridCellFromCoords

func GetGridCellFromCoords(x, y int) (int, int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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