states

package
v0.0.0-...-ee6da0e Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChoosePackageState

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

ChoosePackageState is the choose package state

func (*ChoosePackageState) OnPause

func (st *ChoosePackageState) OnPause(world w.World)

OnPause method

func (*ChoosePackageState) OnResume

func (st *ChoosePackageState) OnResume(world w.World)

OnResume method

func (*ChoosePackageState) OnStart

func (st *ChoosePackageState) OnStart(world w.World)

OnStart method

func (*ChoosePackageState) OnStop

func (st *ChoosePackageState) OnStop(world w.World)

OnStop method

func (*ChoosePackageState) Update

func (st *ChoosePackageState) Update(world w.World) states.Transition

Update method

type GameplayState

type GameplayState struct{}

GameplayState is the main game state

func (*GameplayState) OnPause

func (st *GameplayState) OnPause(world w.World)

OnPause method

func (*GameplayState) OnResume

func (st *GameplayState) OnResume(world w.World)

OnResume method

func (*GameplayState) OnStart

func (st *GameplayState) OnStart(world w.World)

OnStart method

func (*GameplayState) OnStop

func (st *GameplayState) OnStop(world w.World)

OnStop method

func (*GameplayState) Update

func (st *GameplayState) Update(world w.World) states.Transition

Update method

type GoToLevelState

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

GoToLevelState is the main game state

func (*GoToLevelState) OnPause

func (st *GoToLevelState) OnPause(world w.World)

OnPause method

func (*GoToLevelState) OnResume

func (st *GoToLevelState) OnResume(world w.World)

OnResume method

func (*GoToLevelState) OnStart

func (st *GoToLevelState) OnStart(world w.World)

OnStart method

func (*GoToLevelState) OnStop

func (st *GoToLevelState) OnStop(world w.World)

OnStop method

func (*GoToLevelState) Update

func (st *GoToLevelState) Update(world w.World) states.Transition

Update method

type HighscoresSolutionsState

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

HighscoresSolutionsState is the highscores and solutions state

func (*HighscoresSolutionsState) OnPause

func (st *HighscoresSolutionsState) OnPause(world w.World)

OnPause method

func (*HighscoresSolutionsState) OnResume

func (st *HighscoresSolutionsState) OnResume(world w.World)

OnResume method

func (*HighscoresSolutionsState) OnStart

func (st *HighscoresSolutionsState) OnStart(world w.World)

OnStart method

func (*HighscoresSolutionsState) OnStop

func (st *HighscoresSolutionsState) OnStop(world w.World)

OnStop method

func (*HighscoresSolutionsState) Update

func (st *HighscoresSolutionsState) Update(world w.World) states.Transition

Update method

type LevelCompleteState

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

LevelCompleteState is the level complete menu state

func (*LevelCompleteState) OnPause

func (st *LevelCompleteState) OnPause(world w.World)

OnPause method

func (*LevelCompleteState) OnResume

func (st *LevelCompleteState) OnResume(world w.World)

OnResume method

func (*LevelCompleteState) OnStart

func (st *LevelCompleteState) OnStart(world w.World)

OnStart method

func (*LevelCompleteState) OnStop

func (st *LevelCompleteState) OnStop(world w.World)

OnStop method

func (*LevelCompleteState) Update

func (st *LevelCompleteState) Update(world w.World) states.Transition

Update method

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

MainMenuState is the main menu state

func (st *MainMenuState) OnPause(world w.World)

OnPause method

func (st *MainMenuState) OnResume(world w.World)

OnResume method

func (st *MainMenuState) OnStart(world w.World)

OnStart method

func (st *MainMenuState) OnStop(world w.World)

OnStop method

func (st *MainMenuState) Update(world w.World) states.Transition

Update method

type PauseMenuState

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

PauseMenuState is the pause menu state

func (*PauseMenuState) OnPause

func (st *PauseMenuState) OnPause(world w.World)

OnPause method

func (*PauseMenuState) OnResume

func (st *PauseMenuState) OnResume(world w.World)

OnResume method

func (*PauseMenuState) OnStart

func (st *PauseMenuState) OnStart(world w.World)

OnStart method

func (*PauseMenuState) OnStop

func (st *PauseMenuState) OnStop(world w.World)

OnStop method

func (*PauseMenuState) Update

func (st *PauseMenuState) Update(world w.World) states.Transition

Update method

type ViewSolutionState

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

ViewSolutionState is the view solution state

func (*ViewSolutionState) OnPause

func (st *ViewSolutionState) OnPause(world w.World)

OnPause method

func (*ViewSolutionState) OnResume

func (st *ViewSolutionState) OnResume(world w.World)

OnResume method

func (*ViewSolutionState) OnStart

func (st *ViewSolutionState) OnStart(world w.World)

OnStart method

func (*ViewSolutionState) OnStop

func (st *ViewSolutionState) OnStop(world w.World)

OnStop method

func (*ViewSolutionState) Update

func (st *ViewSolutionState) Update(world w.World) states.Transition

Update method

Jump to

Keyboard shortcuts

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