score

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 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 Controller added in v1.1.0

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

func NewController added in v1.1.0

func NewController(settings core.Settings) *Controller

func (*Controller) ContestChanged added in v1.1.0

func (c *Controller) ContestChanged(contest core.Contest)

func (*Controller) Hide added in v1.1.0

func (c *Controller) Hide()

func (*Controller) ScoreChanged added in v1.1.0

func (c *Controller) ScoreChanged(score core.Score)

func (*Controller) SetView added in v1.1.0

func (c *Controller) SetView(view View)

func (*Controller) Show added in v1.1.0

func (c *Controller) Show()

type View

type View interface {
	Show()
	Hide()

	ShowScore(score core.Score)
	SetGoals(points int, multis int)
	SetQTCsEnabled(enabled bool)
}

Jump to

Keyboard shortcuts

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