fnfgame

package
v0.0.0-...-6e27b72 Latest Latest
Warning

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

Go to latest
Published: May 3, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FNFGame

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

FNFGame represents the Friday Night Funkin' game itself.

func New

func New(ctx *context.Context) (*FNFGame, error)

New creates a new FNFGame.

func (*FNFGame) Close

func (g *FNFGame) Close() error

Close cleans up resources and closes the game.

func (*FNFGame) Draw

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

func (*FNFGame) DrawFinalScreen

func (g *FNFGame) DrawFinalScreen(screen ebiten.FinalScreen, offscreen *ebiten.Image, geoM ebiten.GeoM)

func (*FNFGame) InitEbiten

func (g *FNFGame) InitEbiten()

func (*FNFGame) Layout

func (g *FNFGame) Layout(_, _ int) (int, int)

func (*FNFGame) Start

func (g *FNFGame) Start() error

Start starts the game.

func (*FNFGame) StartWithOptions

func (g *FNFGame) StartWithOptions(opts *ebiten.RunGameOptions) error

func (*FNFGame) Update

func (g *FNFGame) Update() error

Jump to

Keyboard shortcuts

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