battle

package
v0.0.0-...-406ed31 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBG

func CreateBG(w, h int) *ebiten.Image

func NewBattleScene

func NewBattleScene(orderer func() []*nego.Equip) scene.Scene

Types

type PixelWriter

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

func NewPixelWriter

func NewPixelWriter(width, height int) *PixelWriter

func (*PixelWriter) Set

func (p *PixelWriter) Set(x, y int, r, g, b, a byte)

func (*PixelWriter) ToImage

func (p *PixelWriter) ToImage() *ebiten.Image

Jump to

Keyboard shortcuts

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