battle

package
v0.0.0-...-15fb598 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Results

type Results struct {
	Victory bool

	BotsCreated int
	Digs        int

	Duration time.Duration

	Difficulty int
}

type Runner

type Runner struct {
	EventBattleCompleted gsignal.Event[*Results]
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(state *session.State) *Runner

func (*Runner) Init

func (r *Runner) Init(scene *ge.Scene)

func (*Runner) Update

func (r *Runner) Update(delta float64)

Jump to

Keyboard shortcuts

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