idle

package
v0.0.0-...-2482a4e Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Idle

type Idle struct{}

func MakeIdle

func MakeIdle() Idle

func (Idle) Destroy

func (idle Idle) Destroy()

func (Idle) OnKeyboardEvent

func (idle Idle) OnKeyboardEvent(event *sdl.KeyboardEvent) State

func (Idle) OnMouseButtonEvent

func (idle Idle) OnMouseButtonEvent(event *sdl.MouseButtonEvent) State

func (Idle) OnMouseMotionEvent

func (idle Idle) OnMouseMotionEvent(event *sdl.MouseMotionEvent) State

func (Idle) OnQuit

func (idle Idle) OnQuit(event *sdl.QuitEvent) State

func (Idle) OnTick

func (idle Idle) OnTick() State

func (Idle) OnTickDelay

func (idle Idle) OnTickDelay() State

func (Idle) PostEvent

func (idle Idle) PostEvent() State

func (Idle) PreEvent

func (idle Idle) PreEvent() State

func (Idle) TickDelayed

func (idle Idle) TickDelayed() bool

Jump to

Keyboard shortcuts

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