ebiwindow

package
v0.0.0-...-d5cd090 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EBITEN_IMAGE = iota
)

Variables

This section is empty.

Functions

func InitEbiten

func InitEbiten()

Types

type Game

type Game struct {
	Title        string
	ScreenWidth  int
	ScreenHeight int
	Objects      []*Object
	OK           int
	Px           float64
	Py           float64
}
var EbitenGame Game

func (*Game) Draw

func (g *Game) Draw(screen *ebiten.Image)

func (*Game) Layout

func (g *Game) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int)

func (*Game) Update

func (g *Game) Update() error

type Object

type Object struct {
	Otype     int
	Oresource []byte
	U         interface{}
}

func (*Object) Ttest

func (o *Object) Ttest()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳