sceneitf

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT 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 {
	Update(logCursorX, logCursorY int) error
	Draw(screen *ebiten.Image)
	DrawHiRes(screen *ebiten.Image, zoomLevel float64)
	Status() Status
}

A simple interface that all scenes in bindless/src/scene implicitly implement. This allows the main Game interface to operate with them and switch scenes more easily.

type Status

type Status uint8
const (
	KeepAlive  Status = 0
	IsOverNext Status = 1
	IsOverPrev Status = 2
	Restart    Status = 3
)

Jump to

Keyboard shortcuts

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