battle

package
v0.0.0-...-f36ebf9 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerAccessor

type ControllerAccessor interface {
	GetGameContext() *game.Context
}

type Runner

type Runner struct {
	EventBattleOver gsignal.Event[bool]
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(config RunnerConfig) *Runner

func (*Runner) Init

func (r *Runner) Init()

func (*Runner) Update

func (r *Runner) Update(delta float64)

type RunnerConfig

type RunnerConfig struct {
	Context *game.Context

	Scene *gscene.RootScene[ControllerAccessor]
}

Jump to

Keyboard shortcuts

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