Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrExit = errors.New("exiting gracefully")
)
Functions ¶
This section is empty.
Types ¶
type Flow ¶
type Flow struct {
// contains filtered or unexported fields
}
type Flow is responsible for wiring up UI elements to each other and ensuring they behave as expected. This includes forward / back buttons to switch between screens, loading and saving options, launching a scenario, etc
func New ¶
func New(assets *assetstore.AssetStore, config *config.Config, ship *ship.Ship) (*Flow, error)
func (*Flow) SetScenario ¶
Click to show internal directories.
Click to hide internal directories.