import { ObservablePreloadScreen } from '@ulangi/ulangi-observable' ; import { PreloadScreenDelegate } from '../../delegates/preload/PreloadScreenDelegate' ; import { SetListDelegate } from '../../delegates/set/SetListDelegate' ; import { ScreenFactory } from '../ScreenFactory' ; export class PreloadScreenFactory extends ScreenFactory { public createScreenDelegate ( observableScreen ) { const rootScreenDelegate = this . createRootScreenDelegate ( ) ; const navigatorDelegate = this . createNavigatorDelegate ( ) ; const setListDelegate = new SetListDelegate ( this . eventBus ) ; return new PreloadScreenDelegate ( this . eventBus , observableScreen , setListDelegate , rootScreenDelegate , navigatorDelegate ) ; } }