framework

package
v0.0.0-...-1a7d883 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Zlib Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSFile

type JSFile struct {
	io.Reader
	io.Closer
}

type JSFramework

type JSFramework struct {
	defaultlevel.Loader
	Canvas *js.Object
}

func (*JSFramework) CreateWindow

func (this *JSFramework) CreateWindow(windowWidth, windowHeight int, title string) error

func (*JSFramework) CurserShow

func (this *JSFramework) CurserShow()

func (*JSFramework) CursorDisable

func (this *JSFramework) CursorDisable()

func (*JSFramework) CursorDisabled

func (this *JSFramework) CursorDisabled() bool

func (*JSFramework) CursorHidden

func (this *JSFramework) CursorHidden() bool

func (*JSFramework) CursorHide

func (this *JSFramework) CursorHide()

func (*JSFramework) CursorShown

func (this *JSFramework) CursorShown() bool

func (*JSFramework) Init

func (this *JSFramework) Init(ml *gohome.MainLoop) error

func (*JSFramework) Log

func (*JSFramework) Log(a ...interface{})

func (*JSFramework) OpenFile

func (*JSFramework) OpenFile(file string) (gohome.File, error)

func (*JSFramework) PollEvents

func (*JSFramework) PollEvents()

func (*JSFramework) WindowGetSize

func (this *JSFramework) WindowGetSize() mgl32.Vec2

func (*JSFramework) WindowIsFullscreen

func (this *JSFramework) WindowIsFullscreen() bool

func (*JSFramework) WindowSetFullscreen

func (this *JSFramework) WindowSetFullscreen(b bool)

func (*JSFramework) WindowSetSize

func (this *JSFramework) WindowSetSize(size mgl32.Vec2)

Jump to

Keyboard shortcuts

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