model

package
v0.0.0-...-b2eca3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	// contains filtered or unexported fields
}

func NewApplication

func NewApplication(eventBus *mvc.EventBus) *Application

func (*Application) ActiveView

func (a *Application) ActiveView() ViewName

func (*Application) SetActiveView

func (a *Application) SetActiveView(view ViewName)

type ApplicationActiveViewChangedEvent

type ApplicationActiveViewChangedEvent struct {
	ActiveView ViewName
}

type ViewName

type ViewName = string
const (
	ViewNameIntro ViewName = "intro"
	ViewNamePlay  ViewName = "play"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL