Documentation ¶
Index ¶
- type Bus
- func (p *Bus) Close()
- func (p *Bus) Keys() map[ebiten.Key]func()
- func (p *Bus) Layout() (int, int)
- func (p *Bus) Pop(scene pb.Scene)
- func (p *Bus) Read(msg *pb.Msg)
- func (p *Bus) Scene() pb.Scene
- func (p *Bus) Scenes() []pb.Scene
- func (p *Bus) SetReader(reader nets.Reader)
- func (p *Bus) To(scene pb.Scene)
- type DesktopScene
- type HelpScene
- type Image
- type List
- type Poker
- type Scene
- type Script
- type StartScene
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type DesktopScene ¶
type DesktopScene struct {
// contains filtered or unexported fields
}
func NewDesktop ¶
func NewDesktop(bus *Bus, script *Script) *DesktopScene
func (*DesktopScene) Draw ¶
func (p *DesktopScene) Draw(screen *ebiten.Image)
func (*DesktopScene) Keys ¶
func (p *DesktopScene) Keys() map[ebiten.Key]func()
func (*DesktopScene) Update ¶
func (p *DesktopScene) Update() error
type Poker ¶
type Poker struct { Bus *Bus // contains filtered or unexported fields }
func NewPoker ¶
func NewPoker(bus *Bus, script *Script, start *StartScene, desktop *DesktopScene, help *HelpScene) *Poker
type Scene ¶
type Scene interface { Update() error Draw(*ebiten.Image) Keys() map[ebiten.Key]func() }
type StartScene ¶
type StartScene struct {
// contains filtered or unexported fields
}
func (*StartScene) Draw ¶
func (p *StartScene) Draw(screen *ebiten.Image)
func (*StartScene) Keys ¶
func (p *StartScene) Keys() map[ebiten.Key]func()
func (*StartScene) Update ¶
func (p *StartScene) Update() error
Click to show internal directories.
Click to hide internal directories.