Documentation ¶
Index ¶
- type Dependency
- type ManagesModalGameUI
- type ModalGameUI
- type Service
- func (s *Service) DependenciesResolved() bool
- func (s *Service) ExportToLua(state *lua.LState)
- func (s *Service) Init(mesh servicemesh.Mesh)
- func (s *Service) Logger() *slog.Logger
- func (s *Service) Mode() string
- func (s *Service) Modes() (modes []string)
- func (s *Service) Name() string
- func (s *Service) OnServiceAdded(service servicemesh.Service)
- func (s *Service) Ready() bool
- func (s *Service) ResolveDependencies(services []servicemesh.Service)
- func (s *Service) SetLogger(logger *slog.Logger)
- func (s *Service) SetMode(mode string)
- func (s *Service) UnexportFromLua(state *lua.LState)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency = ManagesModalGameUI
type ManagesModalGameUI ¶
type ModalGameUI ¶
type ModalGameUI interface { Mode() string Renderable() raylibRenderer.Renderable Update() OnUpdate(func()) }
ModalGameUI is an intergartion interface that other services can implement to be picked up by this service.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) DependenciesResolved ¶
func (*Service) ExportToLua ¶
func (*Service) Init ¶
func (s *Service) Init(mesh servicemesh.Mesh)
func (*Service) OnServiceAdded ¶
func (s *Service) OnServiceAdded(service servicemesh.Service)
func (*Service) ResolveDependencies ¶
func (s *Service) ResolveDependencies(services []servicemesh.Service)
func (*Service) UnexportFromLua ¶
Click to show internal directories.
Click to hide internal directories.