core

package
v0.0.0-...-f2ce74e Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Plan9 = []color.Color{}/* 256 elements not displayed */

Functions

This section is empty.

Types

type Collider

type Collider interface {
	IsEntered(p image.Point, r image.Rectangle) bool
}

type Mover

type Mover interface {
	Up()
	Down()
	Left()
	Right()
}

type Node

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

func NewNode

func NewNode() *Node

func NewNodeWithOption

func NewNodeWithOption(op *Option) *Node

func (*Node) Add

func (n *Node) Add(node *Node)

func (*Node) Draw

func (n *Node) Draw(image *ebiten.Image)

func (*Node) Update

func (n *Node) Update()

type Option

type Option struct {
	Point     image.Point
	Rectangle image.Rectangle
	Color     color.Color
}

Jump to

Keyboard shortcuts

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