sdl

package
v0.0.0-...-214987e Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IO

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

IO is the input/output abstraction layer for the VM

func NewIO

func NewIO(vm *internal.C8VM) *IO

NewIO returns a new I/O instance for the SDL frontend

func (*IO) Destroy

func (io *IO) Destroy()

Destroy should be called before quitting the application

func (*IO) Loop

func (io *IO) Loop()

Loop is the main application loop

func (*IO) SetupWindow

func (io *IO) SetupWindow(title string)

SetupWindow initialises and sets up the main SDL window

Jump to

Keyboard shortcuts

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