Versions in this module Expand all Collapse all v0 v0.0.1 Jun 29, 2022 Changes in this version + const SceneBattle + const SceneGameOver + const SceneHowTo + const SceneTitle + const ScreenHeight + const ScreenWidth + var Font font.Face + type Battle struct + func (s *Battle) Draw(screen *ebiten.Image) + func (s *Battle) Update(g *Game) + type Game struct + func NewGame() (*Game, error) + func (g *Game) Draw(screen *ebiten.Image) + func (g *Game) Layout(width, height int) (int, int) + func (g *Game) Update() error + type GameOver struct + func (s *GameOver) Draw(screen *ebiten.Image) + func (s *GameOver) Update(g *Game) + type HowTo struct + func (s *HowTo) Draw(screen *ebiten.Image) + func (s *HowTo) Update(m *Game) + type Map struct + Objects []Object + type Maps struct + Maps []Map + type Object struct + ObjectType int + X float64 + Y float64 + type Player struct + type Point struct + X float64 + Y float64 + type Scene interface + Draw func(screen *ebiten.Image) + Update func(g *Game) error + type SceneType struct + Type int + type Title struct + func (s *Title) Draw(screen *ebiten.Image) + func (s *Title) Update(m *Game)