bar

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear()

func Draw

func Draw(screen *ebiten.Image) error

Types

type Bar

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

func New

func New(spriteName string, layerName string) (*Bar, error)

func (*Bar) Draw

func (n *Bar) Draw(screen *ebiten.Image) error

func (*Bar) SetDead

func (n *Bar) SetDead(state bool)

func (*Bar) SetHeight

func (n *Bar) SetHeight(value float64)

func (*Bar) SetPercent

func (n *Bar) SetPercent(value float64)

func (*Bar) SetPosition

func (n *Bar) SetPosition(x, y float64)

func (*Bar) SetText

func (n *Bar) SetText(value string)

func (*Bar) SetWidth

func (n *Bar) SetWidth(value float64)

Jump to

Keyboard shortcuts

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