scoreboard

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scoreboard

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

func New

func New(name ...any) *Scoreboard

func (*Scoreboard) Descending

func (board *Scoreboard) Descending() bool

func (*Scoreboard) Lines

func (board *Scoreboard) Lines() []string

func (*Scoreboard) Name

func (board *Scoreboard) Name() string

func (*Scoreboard) Remove

func (board *Scoreboard) Remove(index int)

func (*Scoreboard) RemovePadding

func (board *Scoreboard) RemovePadding()

func (*Scoreboard) Set

func (board *Scoreboard) Set(index int, s string)

func (*Scoreboard) SetDescending

func (board *Scoreboard) SetDescending()

func (*Scoreboard) Write

func (board *Scoreboard) Write(p []byte) (n int, err error)

func (*Scoreboard) WriteString

func (board *Scoreboard) WriteString(s string) (n int, err error)

Jump to

Keyboard shortcuts

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