equipment

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: 6 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

func Set

func Set(weaponType int, level int)

Set will set the level of a specific weapon type

Types

type Equipment

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

func New

func New(data *weapon.WeaponData) (*Equipment, error)

func (*Equipment) Draw

func (n *Equipment) Draw(xOffset float64, yOffset float64, screen *ebiten.Image) error

func (*Equipment) SetDead

func (n *Equipment) SetDead(state bool)

func (*Equipment) SetLevel

func (n *Equipment) SetLevel(value int)

func (*Equipment) SetText

func (n *Equipment) SetText(value string)

Jump to

Keyboard shortcuts

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