Documentation ¶
Index ¶
Constants ¶
View Source
const ( GameTitle = "Boxes" GameWidth = 320 GameHeight = 240 )
View Source
const GridSize = 16
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
func (*Game) GoToGameScene ¶
func (g *Game) GoToGameScene()
type GameScene ¶
type GameScene struct {
// contains filtered or unexported fields
}
func (*GameScene) Update ¶
func (g *GameScene) Update(sceneManager SceneManager) error
type Scene ¶
type Scene interface { Update(sceneManager SceneManager) error Draw(screen *ebiten.Image) }
type SceneManager ¶
type SceneManager interface {
GoToGameScene()
}
type TitleScene ¶
type TitleScene struct{}
func (*TitleScene) Draw ¶
func (*TitleScene) Draw(screen *ebiten.Image)
func (*TitleScene) Update ¶
func (*TitleScene) Update(sceneManager SceneManager) error
Click to show internal directories.
Click to hide internal directories.