ui

package
v0.0.0-...-d5b4236 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JICHA    = 0
	SHIMOCHA = 1
	TOIMEN   = 2
	KAMICHA  = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KawaUI

type KawaUI struct {
	Grid *tview.Grid
	// contains filtered or unexported fields
}

func NewKawaUI

func NewKawaUI(direction int) KawaUI

func (KawaUI) SetTiles

func (kawa KawaUI) SetTiles(tiles []string)

type PointIndicator

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

func NewPointIndicator

func NewPointIndicator() *PointIndicator

func (*PointIndicator) SetDeckCount

func (pi *PointIndicator) SetDeckCount(count int) *PointIndicator

func (*PointIndicator) SetPoints

func (pi *PointIndicator) SetPoints(points [4]int) *PointIndicator

func (*PointIndicator) SetRound

func (pi *PointIndicator) SetRound(wind int, number int) *PointIndicator

func (*PointIndicator) UI

func (i *PointIndicator) UI() tview.Primitive

type UITile

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

func NewUITile

func NewUITile(tileString string) *UITile

func (*UITile) SetTileString

func (tile *UITile) SetTileString(tileString string) *UITile

func (*UITile) TileString

func (tile *UITile) TileString() string

func (*UITile) UI

func (tile *UITile) UI() tview.Primitive

Jump to

Keyboard shortcuts

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