debug

package
v0.0.0-...-562055f Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(msg string, src Source)

Types

type FPS

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

func NewFPS

func NewFPS() *FPS

func (*FPS) Tick

func (fps *FPS) Tick()

todo HAL has an fps limiter built in

type Source

type Source string
const Canvas Source = "canvas"
const GC Source = "gc"
const Loop Source = "loop"
const System Source = "sys"

Jump to

Keyboard shortcuts

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