Documentation ¶
Index ¶
- type Base
- func (g *Base) AddKeyGroup(group KeyGroup)
- func (g *Base) ClearGroups()
- func (b *Base) FilterValue() string
- func (g *Base) Init() tea.Cmd
- func (b *Base) Name() string
- func (g *Base) RegisterHelp(action ViewFunc)
- func (b *Base) RegisterLevels(total int, action SetLevelAction)
- func (g *Base) RegisterView(action ViewFunc)
- func (g *Base) SetError(err error)
- func (g *Base) SetFailure(msg string)
- func (b *Base) SetParent(parent tea.Model)
- func (g *Base) SetStars(total, erned int)
- func (g *Base) SetSuccess(msg string)
- func (g *Base) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (g *Base) View() string
- type Game
- type KeyGroup
- type KeyMap
- type SetLevelAction
- type ViewFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
func (*Base) AddKeyGroup ¶
func (*Base) ClearGroups ¶
func (g *Base) ClearGroups()
func (*Base) FilterValue ¶
func (*Base) RegisterHelp ¶
func (*Base) RegisterLevels ¶
func (b *Base) RegisterLevels(total int, action SetLevelAction)
func (*Base) RegisterView ¶
func (*Base) SetFailure ¶
func (*Base) SetSuccess ¶
type SetLevelAction ¶
type SetLevelAction func(int)
Click to show internal directories.
Click to hide internal directories.