window

package
v0.0.0-...-3eebe10 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyState

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

func NewKeyState

func NewKeyState(window *sdl.Window) *KeyState

func (*KeyState) Pressed

func (ks *KeyState) Pressed(keyCode sdl.Keycode) bool

func (*KeyState) Update

func (ks *KeyState) Update(event sdl.Event)

Jump to

Keyboard shortcuts

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