draw

package
v0.0.0-...-8db07eb Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Rect

func Rect(repo RectRepo) node.DrawFunc

func Sprite

func Sprite(repo SpriteRepo) node.DrawFunc

Types

type RectRepo

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

type SpriteRepo

type SpriteRepo interface {
	Get(id gid.ID) (node.Sprite, bool)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳