Documentation ¶
Index ¶
- type ChoosePackageState
- type GameplayState
- type GoToLevelState
- type HighscoresSolutionsState
- func (st *HighscoresSolutionsState) OnPause(world w.World)
- func (st *HighscoresSolutionsState) OnResume(world w.World)
- func (st *HighscoresSolutionsState) OnStart(world w.World)
- func (st *HighscoresSolutionsState) OnStop(world w.World)
- func (st *HighscoresSolutionsState) Update(world w.World) states.Transition
- type LevelCompleteState
- type MainMenuState
- type PauseMenuState
- type ViewSolutionState
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) 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) 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 ¶
type MainMenuState struct {
// contains filtered or unexported fields
}
MainMenuState is the main menu state
func (*MainMenuState) Update ¶
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) 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) Update ¶
func (st *ViewSolutionState) Update(world w.World) states.Transition
Update method