status

package
v0.0.0-...-dd13743 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CanvasWidthOffset  = 7
	CanvasHeight       = 21
	CanvasHeightOffset = 14
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

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

func (Reporter) Draw

func (reporter Reporter) Draw(win pixel.Target, offset pixel.Vec, scale float64, speed int)

Draw draws the stats canvas and adds it to the Target

func (*Reporter) MakeCanvas

func (reporter *Reporter) MakeCanvas(width, height float64)

MakeCanvas creates the pixelgl canvas on which to draw the stats

Jump to

Keyboard shortcuts

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