ebitencanvas

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartEbitenTurtleCanvas

func StartEbitenTurtleCanvas(params CanvasParams, drawFunc func(models.Canvas))

The drawFunc will be started as a go routine.

Types

type CanvasParams

type CanvasParams struct {
	Width   int
	Height  int
	ShowFPS bool
}

type SavedControlState

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

func (*SavedControlState) GetUserInput

func (s *SavedControlState) GetUserInput() *models.UserInput

Jump to

Keyboard shortcuts

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