Documentation ¶
Index ¶
- func CheckLuaErrors(zones *zone.Manager, s *game.Session) tea.Cmd
- func Push(model tea.Model) tea.Cmd
- func TooltipClear() tea.Cmd
- func TooltipCreate(tip Tooltip) tea.Cmd
- func TooltipDelete(id string) tea.Cmd
- type Model
- type PushModelMsg
- type Tooltip
- type TooltipClearMsg
- type TooltipDeleteMsg
- type TooltipMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckLuaErrors ¶
CheckLuaErrors checks if there are any lua errors and pushes them to the stack as lua error model.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the root model of the game. It holds the current model stack and the zone manager. The top model of the internal stack is the current model and will be rendered.
type PushModelMsg ¶
type TooltipClearMsg ¶
type TooltipClearMsg struct{}
type TooltipDeleteMsg ¶
type TooltipDeleteMsg string
type TooltipMsg ¶
type TooltipMsg Tooltip
Click to show internal directories.
Click to hide internal directories.