scene

package
v0.0.0-...-6e27b72 Latest Latest
Warning

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

Go to latest
Published: May 3, 2025 License: Apache-2.0 Imports: 32 Imported by: 0

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 LoadingScene

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

func NewLoadingScene

func NewLoadingScene(ctx *context.Context, next engine.Scene) *LoadingScene

func (*LoadingScene) Close

func (s *LoadingScene) Close() error

func (*LoadingScene) Draw

func (s *LoadingScene) Draw(screen *ebiten.Image)

func (*LoadingScene) Init

func (s *LoadingScene) Init() error

func (*LoadingScene) Update

func (s *LoadingScene) Update() error
type MainMenuScene struct {
	// contains filtered or unexported fields
}

func NewMainMenuScene

func NewMainMenuScene(ctx *context.Context) *MainMenuScene
func (s *MainMenuScene) Close() error
func (s *MainMenuScene) Draw(screen *ebiten.Image)
func (s *MainMenuScene) Init() error
func (s *MainMenuScene) Update() error

type NopScene

type NopScene struct{}

func (*NopScene) Close

func (s *NopScene) Close() error

func (*NopScene) Draw

func (s *NopScene) Draw(_ *ebiten.Image)

func (*NopScene) Init

func (s *NopScene) Init() error

func (*NopScene) Update

func (s *NopScene) Update() 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() error

type StoryMenuScene

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

func NewStoryMenuScene

func NewStoryMenuScene(ctx *context.Context) *StoryMenuScene

func (*StoryMenuScene) Close

func (s *StoryMenuScene) Close() error

func (*StoryMenuScene) Draw

func (s *StoryMenuScene) Draw(screen *ebiten.Image)

func (*StoryMenuScene) Init

func (s *StoryMenuScene) Init() (err error)

func (*StoryMenuScene) Update

func (s *StoryMenuScene) Update() 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() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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