component

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

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

Go to latest
Published: Aug 1, 2022 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Element

type Element struct {
	Body  Object
	Value int
	Index int
}

func NewMatrix

func NewMatrix(length int) []Element

func (*Element) Draw

func (self *Element) Draw(screen *ebiten.Image, marginX, marginY float64)

func (*Element) Update

func (self *Element) Update()

type Object

type Object struct {
	Image  *ebiten.Image
	X      int
	Y      int
	Width  int
	Height int
}

Jump to

Keyboard shortcuts

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