beam

package
v0.0.0-...-f131f53 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Beam

type Beam struct {
	Options *ebiten.DrawImageOptions
	// contains filtered or unexported fields
}

func New

func New() (*Beam, error)

func (*Beam) Bounds

func (b *Beam) Bounds() image.Rectangle

func (*Beam) Draw

func (b *Beam) Draw(dst *ebiten.Image)

func (*Beam) SetFacingLeft

func (b *Beam) SetFacingLeft(facingLeft bool)

func (*Beam) SetReversed

func (b *Beam) SetReversed(reversed bool)

func (*Beam) Update

func (b *Beam) Update() error

Jump to

Keyboard shortcuts

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