Versions in this module Expand all Collapse all v0 v0.0.1 Jul 23, 2023 Changes in this version + var Colors = []struct{ ... } + func Distance(x0, y0, x1, y1 int) int + func DistanceManhattan(x0, y0, x1, y1 int) int + func Handler() + func MergeColorCode(b, f byte) byte + type Instance struct + Border int + CurrentColor byte + Font struct{ ... } + Height int + Machine int + Scale float64 + ScreenHandler func(*Instance) error + Title string + UTime uint64 + Width int + func New() *Instance + func (i *Instance) Clear() + func (i *Instance) Draw(screen *ebiten.Image) + func (i *Instance) DrawChar(index, fgColor, bgColor byte, x, y int) + func (i *Instance) DrawCursor(index, fgColor, bgColor byte, x, y int) + func (i *Instance) DrawPix(x, y int, color byte) + func (i *Instance) DrawVideoTextMode() + func (i *Instance) Input() + func (i *Instance) Layout(outsideWidth, outsideHeight int) (int, int) + func (i *Instance) Print(msg string) + func (i *Instance) Println(msg string) + func (i *Instance) PutChar(c byte) + func (i *Instance) Run() + func (i *Instance) Update() error + func (i *Instance) Write(p []byte) (n int, err error) + func (p *Instance) Box(x1, y1, x2, y2 int) + func (p *Instance) Circle(x0, y0, radius int) + func (p *Instance) DrawFilledCircle(x0, y0, radius int) + func (p *Instance) DrawLine(x0, y0, x1, y1 int)