scene

package
v0.0.0-...-a9b3afa Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Drawable

type Drawable interface {
	Draw(w donburi.World, screen *ebiten.Image)
}

type Game

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

func NewGame

func NewGame(screenWidth int, screenHeight int) *Game

func (*Game) Draw

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

func (*Game) Update

func (g *Game) Update()

type System

type System interface {
	Update(w donburi.World)
}

type Title

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

func NewTitle

func NewTitle(screenWidth int, screenHeight int, newGameCallback func()) *Title

func (*Title) Draw

func (t *Title) Draw(screen *ebiten.Image)

func (*Title) Update

func (t *Title) Update()

Jump to

Keyboard shortcuts

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