Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseScene ¶
type BaseScene struct {
// contains filtered or unexported fields
}
func NewBaseScene ¶
func NewBaseScene() *BaseScene
func (*BaseScene) SetIsRunning ¶
type LoadingScene ¶
type LoadingScene struct {
BaseScene
// contains filtered or unexported fields
}
func NewLoadingScene ¶
func NewLoadingScene() *LoadingScene
func (*LoadingScene) Draw ¶
func (l *LoadingScene) Draw(screen *ebiten.Image)
func (*LoadingScene) Update ¶
func (l *LoadingScene) Update() error
type MenuScene ¶
type MenuScene struct {
BaseScene
// contains filtered or unexported fields
}
func NewMenuScene ¶
func NewMenuScene(setExitGame func(), stats PlayerStats) *MenuScene
func (*MenuScene) SetIsRunning ¶
type PlayerStats ¶
type PlayerStats struct {
// contains filtered or unexported fields
}
type SceneManager ¶
type SceneManager struct {
// contains filtered or unexported fields
}
func NewSceneManager ¶
func NewSceneManager() *SceneManager
func (*SceneManager) Draw ¶
func (s *SceneManager) Draw(screen *ebiten.Image)
func (*SceneManager) Layout ¶
func (s *SceneManager) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int)
func (*SceneManager) Update ¶
func (s *SceneManager) Update() error
type ScoreScene ¶
type ScoreScene struct {
BaseScene
// contains filtered or unexported fields
}
func NewScoreScene ¶
func NewScoreScene(stats PlayerStats) *ScoreScene
func (*ScoreScene) Draw ¶
func (l *ScoreScene) Draw(screen *ebiten.Image)
func (*ScoreScene) Update ¶
func (l *ScoreScene) Update() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.