renderer

package
v0.0.0-...-b534549 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RedString        func(a ...interface{}) string
	BlackString      func(a ...interface{}) string
	FaintString      func(a ...interface{}) string
	BgWhiteString    func(a ...interface{}) string
	UnderlinedString func(a ...interface{}) string
)

Functions

This section is empty.

Types

type Basic

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

func (*Basic) Break

func (r *Basic) Break() <-chan deck.Card

func (*Basic) Call

func (r *Basic) Call() <-chan callbreak.Score

func (*Basic) Render

func (r *Basic) Render(update <-chan cb.CallBreak, me int)

type Renderer

type Renderer interface {
	Render(<-chan callbreak.CallBreak, int)
	Call() <-chan callbreak.Score
	Break() <-chan deck.Card
}

func New

func New() Renderer

Jump to

Keyboard shortcuts

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