components

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SampleButton

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

func NewSampleButton

func NewSampleButton(w, h int) *SampleButton

func (*SampleButton) Draw

func (button *SampleButton) Draw(screen *ebiten.Image, frame image.Rectangle)

func (*SampleButton) HandlePress added in v0.3.0

func (button *SampleButton) HandlePress(t ebiten.TouchID)

func (*SampleButton) HandleRelease added in v0.3.0

func (button *SampleButton) HandleRelease(t ebiten.TouchID, isInside bool)

func (*SampleButton) Size added in v0.2.0

func (button *SampleButton) Size() image.Point

func (*SampleButton) Update

func (button *SampleButton) Update()

Jump to

Keyboard shortcuts

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