screen

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(s tcell.Screen, state *GameState)

func Render

func Render(s tcell.Screen, state *GameState)

func Reset added in v0.3.0

func Reset(state *GameState)

Types

type GameState added in v1.0.0

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

game state

func Setup

func Setup() (tcell.Screen, GameState)

Jump to

Keyboard shortcuts

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