ui2d

package
v0.0.0-...-8b49de5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UIMain uiState = iota
	UIInventory
)
View Source
const ItemSizeRatio = .033

Variables

This section is empty.

Functions

func NewUI

func NewUI(inputChan chan *game.Input, levelChan chan *game.Level) *ui

Types

type FontSize

type FontSize int
const (
	FontSmall FontSize = iota
	FontMedium
	FontLarge
)

Jump to

Keyboard shortcuts

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