Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MusicManager ¶
type MusicManager struct {
// contains filtered or unexported fields
}
func NewMusicManager ¶
func NewMusicManager() (*MusicManager, error)
func (*MusicManager) IsPlaying ¶
func (m *MusicManager) IsPlaying() bool
func (*MusicManager) Play ¶
func (m *MusicManager) Play() error
func (*MusicManager) Stop ¶
func (m *MusicManager) Stop() error
func (*MusicManager) Update ¶
func (m *MusicManager) Update()
type Options ¶ added in v0.2.0
type Options struct { // Show debug overlay with FPS/TPS DebugOverlay bool }
Options for a Game instance
type SceneManager ¶
type SceneManager struct {
// contains filtered or unexported fields
}
func NewSceneManager ¶
func NewSceneManager() *SceneManager
func (*SceneManager) Len ¶
func (s *SceneManager) Len() int
func (*SceneManager) Peek ¶
func (s *SceneManager) Peek() Scene
func (*SceneManager) Pop ¶
func (s *SceneManager) Pop() Scene
func (*SceneManager) Push ¶
func (s *SceneManager) Push(value Scene) Scene
type SceneTitle ¶
type SceneTitle struct {
// contains filtered or unexported fields
}
func NewSceneTitle ¶
func NewSceneTitle(game *Game) (*SceneTitle, error)
func (*SceneTitle) Draw ¶
func (t *SceneTitle) Draw(screen *ebiten.Image)
func (*SceneTitle) Update ¶
func (t *SceneTitle) Update(game *Game) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.