frontend

package
v0.0.0-...-0637ba6 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2018 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Draw

func Draw(img Img, x, y int)

func OnKeyDown

func OnKeyDown(f func(string))

func OnKeyPress

func OnKeyPress(f func(string))

func OnKeyUp

func OnKeyUp(f func(string))

func OnMouseDown

func OnMouseDown(f func(x, y int))

func OnMouseMove

func OnMouseMove(f func(x, y int))

Types

type Img

type Img interface {
	// contains filtered or unexported methods
}

func LoadImg

func LoadImg(name string) Img

Jump to

Keyboard shortcuts

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