scene

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: GPL-3.0 Imports: 1 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 {
	// Loop executes scene logic and returns name of next scene to be run
	Loop(w *pixelgl.Window, dt float64) (string, error)
}

Scene provides a way for the user to get from one scene to the next Each scene is a distinct state of the game that displays different information

Jump to

Keyboard shortcuts

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