scenes

package
v0.0.0-...-d88343e Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scene

type Scene interface {
	SceneEmitter() <-chan Scene
	Tick(time.Time)
	Event(ev tcell.Event)
}

func NewGameScene

func NewGameScene(gameID uuid.UUID, lastScene Scene, screen tcell.Screen) Scene

func NewMainMenuScene

func NewMainMenuScene(screen tcell.Screen) Scene

func NewResumeScene

func NewResumeScene(lastScene Scene, screen tcell.Screen) Scene

func NewWelcomeScene

func NewWelcomeScene(screen tcell.Screen) Scene

Jump to

Keyboard shortcuts

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