graphics

package
v0.0.0-...-9530628 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graphics

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

func New

func New(gameTitle string, width, height int32) (*Graphics, error)

func (*Graphics) Close

func (g *Graphics) Close()

func (*Graphics) DisplayFPS

func (g *Graphics) DisplayFPS(fps int64)

func (*Graphics) Draw

func (g *Graphics) Draw(buffer chip8.ScreenBuffer) error

Jump to

Keyboard shortcuts

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