// NewRuntime creates a new Runtime struct
NewRuntime creates a new Runtime struct
// NewRuntime creates a new Runtime struct
func NewRuntime(eventManager interfaces.EventManager, renderer interfaces.Renderer) *Runtime {
	return &Runtime{
		Events:     runtime.NewEvents(eventManager),
		Log:        runtime.NewLog(),
		Dialog:     runtime.NewDialog(renderer),
		Window:     runtime.NewWindow(renderer),
		Browser:    runtime.NewBrowser(),
		FileSystem: runtime.NewFileSystem(),
	}
}
func NewRuntime ( eventManager interfaces . EventManager , renderer interfaces . Renderer ) * Runtime { return & Runtime { Events : runtime . NewEvents ( eventManager ) , Log : runtime . NewLog ( ) , Dialog : runtime . NewDialog ( renderer ) , Window : runtime . NewWindow ( renderer ) , Browser : runtime . NewBrowser ( ) , FileSystem : runtime . NewFileSystem ( ) , } }
NewRuntime creates a new Runtime struct
NewRuntime creates a new Runtime struct