Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameOverState ¶
type GameOverState struct { Score int // contains filtered or unexported fields }
GameOverState is the game over menu state
func (*GameOverState) Update ¶
func (st *GameOverState) 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 LevelCompleteState ¶
type LevelCompleteState struct { Score int // 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
Click to show internal directories.
Click to hide internal directories.