api

package
v0.0.0-...-f1e30a4 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SomeImages = []ImageDescriptor{
		{
			ImageName: "ball.png",
		},
	}
)

Functions

This section is empty.

Types

type ActionHandler

type ActionHandler func()

type Direction

type Direction int64

type IApplication

type IApplication interface {
	Start()
	Stop()
}

type IConfig

type IConfig interface {
	Get(key string) uint32
	Set(key string, value string)
	Save()
}

type IDevice

type IDevice interface {
	GetWindowState() uint32
	GetWindowPosAndSize() (int32, int32, int32, int32)
	ProcessKeyActions()
	Stop()
	GetJoystickAxis(axis int) int16
}

type IRenderable

type IRenderable interface {
	Render()
	Step(n uint64)
}

type IRunnable

type IRunnable interface {
	Run()
}

type IScene

type IScene interface {
	Render()
	Step(n uint64)
}

type IStartable

type IStartable interface {
	Start()
	Stop()
}

type IWindow

type IWindow interface {
	SaveWindowState()
}

type ImageDescriptor

type ImageDescriptor struct {
	ImageName string
}

Jump to

Keyboard shortcuts

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