Documentation ¶
Index ¶
- func LoadConfig() (*flag.Config, error)
- type Game
- func (g *Game) BeforeExit() error
- func (g *Game) Draw(screen *ebiten.Image)
- func (g *Game) DrawFinalScreen(screen ebiten.FinalScreen, offscreen *ebiten.Image, geoM ebiten.GeoM)
- func (g *Game) InitEarly() error
- func (g *Game) InitEbitengine() error
- func (g *Game) InitFull() error
- func (g *Game) InitStep() error
- func (g *Game) Layout(outsideWidth, outsideHeight int) (int, int)
- func (g *Game) Update() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
Types ¶
type Game ¶
type Game struct { Menu menu.Controller // contains filtered or unexported fields }
func (*Game) BeforeExit ¶ added in v1.0.112
func (*Game) DrawFinalScreen ¶ added in v1.3.303
func (g *Game) DrawFinalScreen(screen ebiten.FinalScreen, offscreen *ebiten.Image, geoM ebiten.GeoM)
func (*Game) InitEarly ¶ added in v1.2.217
InitEarly is the beginning of our initialization, and may take place in the first frame if there is no way to run this before the main loop (e.g. on mobile).
func (*Game) InitEbitengine ¶ added in v1.2.164
NOTE: This function only runs on desktop systems. On mobile, we instead run InitEarly only.
Click to show internal directories.
Click to hide internal directories.