component

package
v0.0.0-...-f4fbe18 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: CC0-1.0, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Construct

type Construct struct {
	Width  int
	Height int
}

func NewConstruct

func NewConstruct(totalW, totalH int) Construct

type Pos

type Pos struct {
	X, Y float64
}

func NewPosF

func NewPosF(x, y float64) Pos

func NewPosI

func NewPosI(x, y int) Pos

func (Pos) Add

func (p Pos) Add(n Pos) Pos

func (Pos) Div

func (p Pos) Div(n Pos) Pos

func (Pos) Sub

func (p Pos) Sub(n Pos) Pos

func (Pos) Trunc

func (p Pos) Trunc() Pos

type Solid

type Solid struct {
	Value bool
}

func NewSolid

func NewSolid(value bool) Solid

type Sprite

type Sprite struct {
	Image *ebiten.Image
}

func NewSprite

func NewSprite(Image *ebiten.Image) Sprite

type Zoom

type Zoom struct {
	Value float64
}

Jump to

Keyboard shortcuts

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