screen

package
v0.0.0-...-dc33bde Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SDLScreen

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

func NewSDLScreen

func NewSDLScreen(screenScale int) (*SDLScreen, error)

func (*SDLScreen) Render

func (s *SDLScreen) Render(pixels []byte) error

func (*SDLScreen) Shutdown

func (s *SDLScreen) Shutdown()

type Screen

type Screen interface {
	Render(pixels []byte) error
	Shutdown()
}

Jump to

Keyboard shortcuts

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