summon

package
v0.0.0-...-4fabf87 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Summon

type Summon struct {
	Counter      uint64
	Cache        *lbx.LbxCache
	ImageCache   util.ImageCache
	Title        string
	Wizard       data.WizardBase
	State        SummonState
	Font         *font.Font
	CircleBack   *util.Animation
	CircleFront  *util.Animation
	Background   *ebiten.Image
	SummonPic    *ebiten.Image
	SummonHeight int
}

func MakeSummonArtifact

func MakeSummonArtifact(cache *lbx.LbxCache, wizard data.WizardBase) *Summon

func MakeSummonHero

func MakeSummonHero(cache *lbx.LbxCache, wizard data.WizardBase, champion bool) *Summon

func MakeSummonUnit

func MakeSummonUnit(cache *lbx.LbxCache, unit units.Unit, wizard data.WizardBase) *Summon

func (*Summon) Draw

func (summon *Summon) Draw(screen *ebiten.Image)

func (*Summon) Update

func (summon *Summon) Update() SummonState

type SummonState

type SummonState int
const (
	SummonStateRunning SummonState = iota
	SummonStateDone
)

Jump to

Keyboard shortcuts

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