scenes

package
v0.0.0-...-96a477f Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSettingsController

func NewSettingsController(state *session.State) *settingsController

Types

type BattleController

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

func NewBattleController

func NewBattleController(state *session.State, levelID int) *BattleController

func (*BattleController) Init

func (c *BattleController) Init(scene *ge.Scene)

func (*BattleController) Update

func (c *BattleController) Update(delta float64)

type CreditsController

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

func NewCreditsController

func NewCreditsController(state *session.State) *CreditsController

func (*CreditsController) Init

func (c *CreditsController) Init(scene *ge.Scene)

func (*CreditsController) Update

func (c *CreditsController) Update(delta float64)
type MainMenuController struct {
	// contains filtered or unexported fields
}

func NewMainMenuController

func NewMainMenuController(state *session.State) *MainMenuController
func (c *MainMenuController) Init(scene *ge.Scene)
func (c *MainMenuController) Update(delta float64)

type PlayController

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

func NewPlayController

func NewPlayController(state *session.State) *PlayController

func (*PlayController) Init

func (c *PlayController) Init(scene *ge.Scene)

func (*PlayController) Update

func (c *PlayController) Update(delta float64)

type ResultsController

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

func NewResultsController

func NewResultsController(state *session.State, result battle.Result) *ResultsController

func (*ResultsController) Init

func (c *ResultsController) Init(scene *ge.Scene)

func (*ResultsController) Update

func (c *ResultsController) Update(delta float64)

Jump to

Keyboard shortcuts

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