runner

package
v0.0.0-...-22306b7 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindFlag

func BindFlag(cmd *cobra.Command, name string)

func MarkHidden

func MarkHidden(cmd *cobra.Command, name string)

func RunCmd

func RunCmd(cmd *cobra.Command)

func RunGame

func RunGame(game GameRunner)

func RunGraceful

func RunGraceful(runner GracefulRunner)

Types

type GameRunner

type GameRunner interface {
	Init() error
	ebiten.Game
	Shutdown()
}

type GracefulRunner

type GracefulRunner interface {
	Init() error
	Run() error
	Shutdown()
}

Jump to

Keyboard shortcuts

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