components

package
Version: v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 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) OnPressButton

func (button *SampleButton) OnPressButton()

func (*SampleButton) OnReleaseButton

func (button *SampleButton) OnReleaseButton()

func (*SampleButton) Size

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

func (*SampleButton) Update

func (button *SampleButton) Update()

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to