draw

package
v0.0.0-...-6d9bdb3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Func

type Func func(gid.ID, *ebiten.Image)

func Rect

func Rect(repo NodeRepo) Func

type Node

type Node struct {
	Draw     Func
	Position image.Point
	Size     image.Point
}

type NodeRepo

type NodeRepo interface {
	Get(id gid.ID) (Node, bool)
}

Jump to

Keyboard shortcuts

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