game

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

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

*Game implements the ebiten.Game interface

func New

func New(ctx *misc.Context) (*Game, error)

func (*Game) Draw

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

func (*Game) Layout

func (self *Game) Layout(w, h int) (int, int)

func (*Game) LayoutF added in v0.0.3

func (self *Game) LayoutF(width, height float64) (float64, float64)

func (*Game) SetFPSDebugActive added in v0.0.3

func (self *Game) SetFPSDebugActive()

func (*Game) Update

func (self *Game) Update() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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