Documentation
¶
Overview ¶
Package scene implements the scenes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MainMenuScene ¶
type MainMenuScene struct {
// contains filtered or unexported fields
}
func NewMainMenuScene ¶
func NewMainMenuScene(ctx *context.Context) *MainMenuScene
func (*MainMenuScene) Close ¶
func (s *MainMenuScene) Close() error
func (*MainMenuScene) Draw ¶
func (s *MainMenuScene) Draw(screen *ebiten.Image)
func (*MainMenuScene) Init ¶
func (s *MainMenuScene) Init() error
func (*MainMenuScene) Update ¶
func (s *MainMenuScene) Update(dt float64) error
type OptionsScene ¶
type OptionsScene struct {
// contains filtered or unexported fields
}
func NewOptionsScene ¶
func NewOptionsScene(ctx *context.Context) *OptionsScene
func (*OptionsScene) Close ¶
func (s *OptionsScene) Close() error
func (*OptionsScene) Draw ¶
func (s *OptionsScene) Draw(screen *ebiten.Image)
func (*OptionsScene) Init ¶
func (s *OptionsScene) Init() error
func (*OptionsScene) Update ¶
func (s *OptionsScene) Update(_ float64) error
type TitleScene ¶
type TitleScene struct {
// contains filtered or unexported fields
}
TitleScene is the intro and "press enter to begin" screen.
func NewTitleScene ¶
func NewTitleScene(ctx *context.Context) *TitleScene
func (*TitleScene) Close ¶
func (s *TitleScene) Close() error
func (*TitleScene) Draw ¶
func (s *TitleScene) Draw(screen *ebiten.Image)
func (*TitleScene) Init ¶
func (s *TitleScene) Init() error
func (*TitleScene) Update ¶
func (s *TitleScene) Update(dt float64) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.