types

package
v0.0.0-...-0583f8e Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IComponent

type IComponent interface {
	ITickable
	IDrawable
}

type IDrawable

type IDrawable interface {
	Draw(gtx layout.Context) layout.Dimensions
}

type ITickable

type ITickable interface {
	Tick(delta time.Duration)
}

type IView

type IView interface {
	IComponent
	Keypress(ev key.Event)
}

Jump to

Keyboard shortcuts

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