scenes

package
v0.0.0-...-d03cab4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MainScene

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

func NewMainScene

func NewMainScene(resources resources.Resources, player *rpg.Player) MainScene

func (MainScene) Draw

func (ms MainScene) Draw(on tcell.Screen)

func (MainScene) HandleEvents

func (ms MainScene) HandleEvents(within tcell.Screen)

type Scene

type Scene interface {
	Draw(on tcell.Screen)
	HandleEvents(within tcell.Screen)
}

Jump to

Keyboard shortcuts

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